MDL-39814 actionmenu: tweaked the action menu post integration
authorSam Hemelryk <sam@moodle.com>
Thu, 1 Aug 2013 01:01:04 +0000 (13:01 +1200)
committerSam Hemelryk <sam@moodle.com>
Thu, 1 Aug 2013 01:05:04 +0000 (13:05 +1200)
commitf803ce267fbd12ddafb128144d1588bd844a3c6d
treefb18edcc1861f67cb3df3a8b97429d1dcc5ad239
parent4a4d57ae1fa5cd974b78fc8ad27a99bae9d6dc81
MDL-39814 actionmenu: tweaked the action menu post integration

The following changes have been made:
 * course_section_cm_edit_actions now allows the caller more options for the
   display of the action menu.
 * The site menu block now disables the JS enhancement of the actionmenu so
   that it displays as it did before. After more testing this seemed like the
   only option that worked in the limited space of the block when it had
   several modules.
 * draganddrop of resources now triggers the action menu enhancement as well.
 * Fixed display of title when the menu is not being enhanced by JS.
 * Fixed the alignment of the completion icon in the bootstrapbase theme.
 * Tweaked the CSS for the standard theme.
13 files changed:
blocks/site_main_menu/block_site_main_menu.php
course/dndupload.js
course/renderer.php
course/yui/toolboxes/toolboxes.js
lib/outputcomponents.php
lib/outputrenderers.php
lib/yui/build/moodle-core-actionmenu/moodle-core-actionmenu-debug.js
lib/yui/build/moodle-core-actionmenu/moodle-core-actionmenu-min.js
lib/yui/build/moodle-core-actionmenu/moodle-core-actionmenu.js
lib/yui/src/actionmenu/js/actionmenu.js
theme/base/style/course.css
theme/bootstrapbase/less/moodle/course.less
theme/bootstrapbase/style/moodle.css