Merge branch 'MDL-45634-master' of git://github.com/FMCorz/moodle

This commit is contained in:
Marina Glancy
2014-06-09 17:23:42 +08:00
4 changed files with 5 additions and 5 deletions
@@ -355,7 +355,7 @@ EditorPluginButtons.prototype = {
var title = M.util.get_string(config.title, 'atto_' + pluginname);
// Create the actual button.
button = Y.Node.create('<button class="' + buttonClass + '"' +
button = Y.Node.create('<button type="button" class="' + buttonClass + '"' +
'tabindex="-1">' +
'<img class="icon" aria-hidden="true" role="presentation" width="16" height="16" src="' + config.iconurl + '"/>' +
'</button>');
File diff suppressed because one or more lines are too long
@@ -355,7 +355,7 @@ EditorPluginButtons.prototype = {
var title = M.util.get_string(config.title, 'atto_' + pluginname);
// Create the actual button.
button = Y.Node.create('<button class="' + buttonClass + '"' +
button = Y.Node.create('<button type="button" class="' + buttonClass + '"' +
'tabindex="-1">' +
'<img class="icon" aria-hidden="true" role="presentation" width="16" height="16" src="' + config.iconurl + '"/>' +
'</button>');
+1 -1
View File
@@ -206,7 +206,7 @@ EditorPluginButtons.prototype = {
var title = M.util.get_string(config.title, 'atto_' + pluginname);
// Create the actual button.
button = Y.Node.create('<button class="' + buttonClass + '"' +
button = Y.Node.create('<button type="button" class="' + buttonClass + '"' +
'tabindex="-1">' +
'<img class="icon" aria-hidden="true" role="presentation" width="16" height="16" src="' + config.iconurl + '"/>' +
'</button>');