diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-10-17 20:10:32 +0400 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2008-10-17 20:10:32 +0400 |
commit | 09adf78dbe38120d4258ed08eaccb39df5f9995d (patch) | |
tree | cdb1c5614d3d69b0823e473c66151aa9263132cb /plugins/CoreHome/templates/menu.js | |
parent | 15e6eb5878eba10d73a28e625ee7744388727398 (diff) |
- minor updates
Diffstat (limited to 'plugins/CoreHome/templates/menu.js')
-rw-r--r-- | plugins/CoreHome/templates/menu.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/plugins/CoreHome/templates/menu.js b/plugins/CoreHome/templates/menu.js index c87d894a05..665d78b011 100644 --- a/plugins/CoreHome/templates/menu.js +++ b/plugins/CoreHome/templates/menu.js @@ -1,14 +1,8 @@ -// menu constructor function menu() { this.param = new Object; } -// this should be in the menu prototype but I couldn't figure out -// how to use it as a callback in the jquery ajax request - - -//Prototype of the DataTable object menu.prototype = { menuSectionLoaded: function (content, urlLoaded) @@ -18,11 +12,6 @@ menu.prototype = $('#content').html( content ).show(); $('#loadingPiwik').hide(); menu.prototype.lastUrlRequested = null; - //console.log('display '+urlLoaded); - } - else - { - //console.log('loaded '+urlLoaded+' but expecting to display '+menu.prototype.lastUrlRequested); } }, @@ -63,7 +52,6 @@ menu.prototype = // we are in the SUB UL LI if($(this).find('ul li').size() == 0) { - // console.log('clicked SUB LI'); $(this).addClass('sfHover'); } // we clicked on a MAIN LI @@ -72,7 +60,6 @@ menu.prototype = $(this).find('>ul li:first').addClass('sfHover'); } - //prepare the ajax request ajaxRequest = { type: 'GET', |