javascript-dock MDL-21329 Several major changes to the underlying navigation and dock code

The following changes have been made in this commit:
1. Renamed the side bar thing to dock, this is consistent through all code/css now.
2. Converted everything to YUI 3 except the panel which docked items are shown in, this iwll be converted once YUI 3 overlay is no longer beta.
3 Redisigned the dock, all blocks can now make use of it, and theme code within JS can override it so they can make it look as they want.
More changes are coming
This commit is contained in:
Sam Hemelryk
2010-01-14 05:35:23 +00:00
parent f406544713
commit 9d89733132
19 changed files with 1149 additions and 975 deletions
-1
View File
@@ -884,7 +884,6 @@ class global_navigation extends navigation_node {
$this->forceopen = true;
$this->action = new moodle_url($CFG->wwwroot);
$this->cache = new navigation_cache(NAVIGATION_CACHE_NAME);
$PAGE->requires->string_for_js('moveallsidetabstoblock','moodle');
$regenerate = optional_param('regenerate', null, PARAM_TEXT);
if ($regenerate==='navigation') {
$this->cache->clear();