javascript-dock MDL-21329 Added $CFG->allowblockstodock(true by default) and $THEME->enable_dock (false by default)

Also moved blocks/blocks.js to javascript-static,js so there is one less file to load
This commit is contained in:
Sam Hemelryk
2010-01-14 06:56:12 +00:00
parent 889c010954
commit d2c394f3c3
11 changed files with 628 additions and 626 deletions
+1 -1
View File
@@ -93,7 +93,7 @@
*/
// If this isn't set we don't need an override at all
if (blocks.genericblock) {
if (typeof(blocks)=='object' && blocks.genericblock) {
/**
* Override the default resize_block_space method so that we can ensure