ChiliProject is not maintained anymore. Please be advised that there will be no more updates.
We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.
jQuery.menu_expand is not a function (Bug #876)
Description
after upgrading to 3.0 my firebug is moaning about:
jQuery.menu_expand is not a function
chrome says it this way:
Uncaught TypeError: Object function (a,b){return new d.fn.init(a,b,g)} has no method 'menu_expand'
which I think is pretty much the same
Associated revisions
- Norwegian added (Kai Olav Fredriksen)
- Finnish updated (Antti Perkiömäki)
- Czech updated (Maxim Krušina)
- Russian updated (Michael Pirogov)
- Polish updated (Mariusz Olejnik)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1289 e93f8b46-1217-0410-a6f0-8f06a7374b81
History
Updated by Felix Schäfer at 2012-03-01 01:28 am
What view is this on, and what are the steps to trigger it?
Updated by Peter Mathis at 2012-03-01 06:48 am
this is on the "issues" view. firebug output:
jQuery.menu_expand({ menuItem: '.issues' }); ----- jQuery.menu_expand is not a function https://xxx.yy/chiliproject/issues/666 Line 215
Updated by Felix Schäfer at 2012-03-07 08:20 pm
Can you reproduce it on chiliproject.org itself? I can't see it here…
Updated by Peter Mathis at 2012-03-07 09:31 pm
hm ... not on chiliproject.org indeed.
well, this inline javascript statement on our chili which produces the error isn't in the source code on chiliproject.org: (/issues/xxx browser source code with line numbers)
215: <script type="text/javascript"> 216: //<![CDATA[ 217: jQuery.menu_expand({ menuItem: '.issues' }); 218: //]]> 219: </script>
also, when i'm grep-ing through our chili, this inline js isn't - at least not obvious enough for me - in the code.
i'm on release-v3.0.0 ... strange ...
Updated by Peter Mathis at 2012-03-07 10:24 pm
ok, just figured out that we've installed redmine_lightbox plugin. if I remove this, the jquery error ist gone. redmine_lightbox also includes jquery 1.5.1 which overrides the $.menu_expand enhancement before ... evil knievel ...
- Status changed from Open to Declined
Updated by Peter Mathis at 2012-03-07 10:56 pm
i've forked redmine_lightbox and fixed this plugin issue and mentioned it in Plugin_Compatibility
maybe someone wants to verify this ...
- Status changed from Declined to Closed
Updated by Felix Schäfer at 2012-03-07 11:19 pm
Thanks a lot for the feedback and the updated plugin.
(note: closed is for issues which have been fixed in ChiliProject, as this is not a ChiliProject bug per se, its final status is declined)
- Status changed from Closed to Declined