Merge branch 'wip-MDL-45045_master' of git://github.com/gjb2048/moodle
Conflicts: lib/yui/build/moodle-core-blocks/moodle-core-blocks-min.js
This commit is contained in:
@@ -481,6 +481,7 @@ class block_manager {
|
||||
if (!isset($bc->attributes['data-block'])) {
|
||||
$bc->attributes['data-block'] = '_fake';
|
||||
}
|
||||
$bc->attributes['class'] .= ' block_fake';
|
||||
$this->extracontent[$region][] = $bc;
|
||||
}
|
||||
|
||||
|
||||
@@ -483,7 +483,7 @@ MANAGER.prototype = {
|
||||
nodes: '.'+CSS.BLOCK,
|
||||
target: true,
|
||||
handles: [SELECTOR.DRAGHANDLE],
|
||||
invalid: '.block-hider-hide, .block-hider-show, .moveto',
|
||||
invalid: '.block-hider-hide, .block-hider-show, .moveto, .block_fake',
|
||||
dragConfig: {groups: this.groups}
|
||||
});
|
||||
dragdelegation.dd.plug(Y.Plugin.DDProxy, {
|
||||
|
||||
File diff suppressed because one or more lines are too long
+1
-1
@@ -479,7 +479,7 @@ MANAGER.prototype = {
|
||||
nodes: '.'+CSS.BLOCK,
|
||||
target: true,
|
||||
handles: [SELECTOR.DRAGHANDLE],
|
||||
invalid: '.block-hider-hide, .block-hider-show, .moveto',
|
||||
invalid: '.block-hider-hide, .block-hider-show, .moveto, .block_fake',
|
||||
dragConfig: {groups: this.groups}
|
||||
});
|
||||
dragdelegation.dd.plug(Y.Plugin.DDProxy, {
|
||||
|
||||
Vendored
+1
-1
@@ -98,7 +98,7 @@ MANAGER.prototype = {
|
||||
nodes: '.'+CSS.BLOCK,
|
||||
target: true,
|
||||
handles: [SELECTOR.DRAGHANDLE],
|
||||
invalid: '.block-hider-hide, .block-hider-show, .moveto',
|
||||
invalid: '.block-hider-hide, .block-hider-show, .moveto, .block_fake',
|
||||
dragConfig: {groups: this.groups}
|
||||
});
|
||||
dragdelegation.dd.plug(Y.Plugin.DDProxy, {
|
||||
|
||||
Reference in New Issue
Block a user