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

This commit is contained in:
Andrew Nicols
2015-06-18 07:13:34 +02:00
committed by Eloy Lafuente (stronk7)
4 changed files with 10 additions and 40 deletions
@@ -671,25 +671,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
@@ -668,25 +668,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.
*