Added a new check in selectItemInMenuByName() javascript to apply the select only to menus by checking element.type == select-one. Thanks to Antonio Vicent. Merged from MOODLE_13_STABLE branch.
Added a new check in selectItemInMenuByName() javascript to apply the
select only to menus by checking element.type == select-one. Thanks to
Antonio Vicent.
Merged from MOODLE_13_STABLE branch.

dilawar/moodle