I had to comment out a chunk of Javascript in menu-block.js in order to get this module to work. For some reason when it tries to split the parent item selection into two select lists, something breaks. I end up with menus being duplicated in the menu select list and then nothing except "" shows up in the item select list. I've attached some screen shots.
If I comment out the following block in menu-block.js, I get one big parent item select list that works:
// Split the un-wieldly "parent item" pull-down into two hierarchal pull-downs.
$('#edit-parent')
.html(Drupal.settings.menu_block.parent_options[Drupal.settings.menu_block.menus_default])
.val(Drupal.settings.menu_block.parent_default)
.before(Drupal.settings.menu_block.menus);
$('#edit-parent-menu').change( function() {
$('#edit-parent')
.html(Drupal.settings.menu_block.parent_options[$('#edit-parent-menu').val()])
.val(Drupal.settings.menu_block.parent_default);
} );
I had this problem with both the latest release and the latest dev. I was surprised not to find anyone else with the same problem.
Any ideas?
Comment | File | Size | Author |
---|---|---|---|
error_2.jpg | 11.58 KB | adamo | |
error_1.jpg | 19.4 KB | adamo |
Comments
Comment #1
adamo CreditAttribution: adamo commentedAbove should say nothing except the "root" option shows up in the item select list.
Comment #2
bboes CreditAttribution: bboes commentedI had the same problem and your solution worked well for me. Thanks!
Comment #3
JohnAlbin