Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vanilla ckeditor-3.4.1
[ckeditor.git]
/
_source
/
plugins
/
button
/
plugin.js
diff --git
a/_source/plugins/button/plugin.js
b/_source/plugins/button/plugin.js
index
54016fb
..
f16e192
100644
(file)
--- a/
_source/plugins/button/plugin.js
+++ b/
_source/plugins/button/plugin.js
@@
-134,7
+134,7
@@
CKEDITOR.ui.button.prototype =
'<span class="cke_button">',
\r
'<a id="', id, '"' +
\r
' class="', classes, '"',
\r
'<span class="cke_button">',
\r
'<a id="', id, '"' +
\r
' class="', classes, '"',
\r
- env.gecko && env.version >= 10900 && !env.hc ? '' : '" href="javascript:void(\''+ ( this.title || '' ).replace( "'"+ '' )+ '\')"',
\r
+ env.gecko && env.version >= 10900 && !env.hc ? '' : '" href="javascript:void(\''+ ( this.title || '' ).replace( "'", '' )+ '\')"',
\r
' title="', this.title, '"' +
\r
' tabindex="-1"' +
\r
' hidefocus="true"' +
\r
' title="', this.title, '"' +
\r
' tabindex="-1"' +
\r
' hidefocus="true"' +
\r
@@
-172,7
+172,7
@@
CKEDITOR.ui.button.prototype =
}
\r
\r
output.push(
\r
}
\r
\r
output.push(
\r
- '></span>' +
\r
+ '> </span>' +
\r
'<span id="', id, '_label" class="cke_label">', this.label, '</span>' );
\r
\r
if ( this.hasArrow )
\r
'<span id="', id, '_label" class="cke_label">', this.label, '</span>' );
\r
\r
if ( this.hasArrow )
\r
@@
-180,7
+180,7
@@
CKEDITOR.ui.button.prototype =
output.push(
\r
'<span class="cke_buttonarrow">'
\r
// BLACK DOWN-POINTING TRIANGLE
\r
output.push(
\r
'<span class="cke_buttonarrow">'
\r
// BLACK DOWN-POINTING TRIANGLE
\r
- + ( CKEDITOR.env.hc ? '▼' : '' )
\r
+ + ( CKEDITOR.env.hc ? '▼' : ' ' )
\r
+ '</span>' );
\r
}
\r
\r
+ '</span>' );
\r
}
\r
\r
@@
-270,3
+270,8
@@
CKEDITOR.ui.prototype.addButton = function( name, definition )
{
\r
this.add( name, CKEDITOR.UI_BUTTON, definition );
\r
};
\r
{
\r
this.add( name, CKEDITOR.UI_BUTTON, definition );
\r
};
\r
+
\r
+CKEDITOR.on( 'reset', function()
\r
+ {
\r
+ CKEDITOR.ui.button._.instances = [];
\r
+ });
\r