summaryrefslogtreecommitdiff
path: root/core/js
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-12-07 22:10:23 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-12-07 22:10:23 +0000
commit3449827c5ae3f28b0353d7babd354b92f403e5bf (patch)
tree2d5fbfe308f393c0a2d0f0cc3119815bc9753322 /core/js
parenteaffc5e085141a639c15699739b63368eccca945 (diff)
Change the menu processing to add the gDialogLink class if the url starts with a #. this results in a modal dialog box being opened. At this point the url is not retrieved and the text just shows up in the dialog box... need to look at that
Diffstat (limited to 'core/js')
-rw-r--r--core/js/menu.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/js/menu.js b/core/js/menu.js
index b5f0a6ee..57484f3f 100644
--- a/core/js/menu.js
+++ b/core/js/menu.js
@@ -15,9 +15,9 @@ $("document").ready(function() {
var href = $(this).attr("href");
if (href == "#") {
return false;
- } else if (href.match("^#") == "#") {
- alert("Display href: " + href.substring(1) + "in a popup");
- return false;
+// } else if (href.match("^#") == "#") {
+// alert("Display href: " + href.substring(1) + "in a popup");
+// return false;
}
return true;
});