mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
Merge branch 'MDL-47513-master' of git://github.com/andrewnicols/moodle
This commit is contained in:
commit
276af2a44d
10 changed files with 121 additions and 37 deletions
|
@ -341,12 +341,12 @@ DOCK.prototype = {
|
|||
* Fires after the dock has been changed from hidden to visible.
|
||||
* @event dock:shown
|
||||
*/
|
||||
this.publish('dock:shown', {prefix:'dock'});
|
||||
this.publish('dock:shown', {prefix:'dock', broadcast: 2});
|
||||
/**
|
||||
* Fired after the dock has been changed from visible to hidden.
|
||||
* @event dock:hidden
|
||||
*/
|
||||
this.publish('dock:hidden', {prefix:'dock'});
|
||||
this.publish('dock:hidden', {prefix:'dock', broadcast: 2});
|
||||
/**
|
||||
* Fires when an item is added to the dock.
|
||||
* @event dock:itemadded
|
||||
|
@ -362,7 +362,7 @@ DOCK.prototype = {
|
|||
* This happens after the itemadded and itemremoved events have been called.
|
||||
* @event dock:itemschanged
|
||||
*/
|
||||
this.publish('dock:itemschanged', {prefix:'dock'});
|
||||
this.publish('dock:itemschanged', {prefix:'dock', broadcast: 2});
|
||||
/**
|
||||
* Fires once when the docks panel is first initialised.
|
||||
* @event dock:panelgenerated
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -339,12 +339,12 @@ DOCK.prototype = {
|
|||
* Fires after the dock has been changed from hidden to visible.
|
||||
* @event dock:shown
|
||||
*/
|
||||
this.publish('dock:shown', {prefix:'dock'});
|
||||
this.publish('dock:shown', {prefix:'dock', broadcast: 2});
|
||||
/**
|
||||
* Fired after the dock has been changed from visible to hidden.
|
||||
* @event dock:hidden
|
||||
*/
|
||||
this.publish('dock:hidden', {prefix:'dock'});
|
||||
this.publish('dock:hidden', {prefix:'dock', broadcast: 2});
|
||||
/**
|
||||
* Fires when an item is added to the dock.
|
||||
* @event dock:itemadded
|
||||
|
@ -360,7 +360,7 @@ DOCK.prototype = {
|
|||
* This happens after the itemadded and itemremoved events have been called.
|
||||
* @event dock:itemschanged
|
||||
*/
|
||||
this.publish('dock:itemschanged', {prefix:'dock'});
|
||||
this.publish('dock:itemschanged', {prefix:'dock', broadcast: 2});
|
||||
/**
|
||||
* Fires once when the docks panel is first initialised.
|
||||
* @event dock:panelgenerated
|
||||
|
|
6
lib/yui/src/dock/js/dock.js
vendored
6
lib/yui/src/dock/js/dock.js
vendored
|
@ -339,12 +339,12 @@ DOCK.prototype = {
|
|||
* Fires after the dock has been changed from hidden to visible.
|
||||
* @event dock:shown
|
||||
*/
|
||||
this.publish('dock:shown', {prefix:'dock'});
|
||||
this.publish('dock:shown', {prefix:'dock', broadcast: 2});
|
||||
/**
|
||||
* Fired after the dock has been changed from visible to hidden.
|
||||
* @event dock:hidden
|
||||
*/
|
||||
this.publish('dock:hidden', {prefix:'dock'});
|
||||
this.publish('dock:hidden', {prefix:'dock', broadcast: 2});
|
||||
/**
|
||||
* Fires when an item is added to the dock.
|
||||
* @event dock:itemadded
|
||||
|
@ -360,7 +360,7 @@ DOCK.prototype = {
|
|||
* This happens after the itemadded and itemremoved events have been called.
|
||||
* @event dock:itemschanged
|
||||
*/
|
||||
this.publish('dock:itemschanged', {prefix:'dock'});
|
||||
this.publish('dock:itemschanged', {prefix:'dock', broadcast: 2});
|
||||
/**
|
||||
* Fires once when the docks panel is first initialised.
|
||||
* @event dock:panelgenerated
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue