From 3449827c5ae3f28b0353d7babd354b92f403e5bf Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 7 Dec 2008 22:10:23 +0000 Subject: 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 --- core/js/menu.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/js/menu.js') 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; }); -- cgit v1.2.3