Merge branch 'wip-MDL-50216-28' of git://github.com/abgreeve/moodle into MOODLE_28_STABLE

This commit is contained in:
Andrew Nicols
2015-06-16 12:22:59 +08:00
4 changed files with 10 additions and 40 deletions
@@ -669,25 +669,15 @@ var INFO = function() {
};
Y.extend(INFO, M.core.dialogue, {
initializer: function() {
this.show();
}
}, {
NAME: 'Moodle information dialogue',
CSS_PREFIX: DIALOGUE_PREFIX
});
Y.Base.modifyAttrs(INFO, {
/**
* Boolean indicating whether or not the Widget is visible.
*
* We override this from the default M.core.dialogue attribute value.
*
* @attribute visible
* @default true
* @type Boolean
*/
visible: {
value: true
},
/**
* Whether the widget should be modal or not.
*
File diff suppressed because one or more lines are too long
@@ -667,25 +667,15 @@ var INFO = function() {
};
Y.extend(INFO, M.core.dialogue, {
initializer: function() {
this.show();
}
}, {
NAME: 'Moodle information dialogue',
CSS_PREFIX: DIALOGUE_PREFIX
});
Y.Base.modifyAttrs(INFO, {
/**
* Boolean indicating whether or not the Widget is visible.
*
* We override this from the default M.core.dialogue attribute value.
*
* @attribute visible
* @default true
* @type Boolean
*/
visible: {
value: true
},
/**
* Whether the widget should be modal or not.
*
+3 -13
View File
@@ -18,25 +18,15 @@ var INFO = function() {
};
Y.extend(INFO, M.core.dialogue, {
initializer: function() {
this.show();
}
}, {
NAME: 'Moodle information dialogue',
CSS_PREFIX: DIALOGUE_PREFIX
});
Y.Base.modifyAttrs(INFO, {
/**
* Boolean indicating whether or not the Widget is visible.
*
* We override this from the default M.core.dialogue attribute value.
*
* @attribute visible
* @default true
* @type Boolean
*/
visible: {
value: true
},
/**
* Whether the widget should be modal or not.
*