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.2
[ckeditor.git]
/
_source
/
plugins
/
button
/
plugin.js
diff --git
a/_source/plugins/button/plugin.js
b/_source/plugins/button/plugin.js
index
a882a39
..
305a6f9
100644
(file)
--- a/
_source/plugins/button/plugin.js
+++ b/
_source/plugins/button/plugin.js
@@
-70,7
+70,7
@@
CKEDITOR.ui.button.prototype =
render : function( editor, output )
\r
{
\r
var env = CKEDITOR.env,
\r
render : function( editor, output )
\r
{
\r
var env = CKEDITOR.env,
\r
- id = this._.id = 'cke_' + CKEDITOR.tools.getNextNumber(),
\r
+ id = this._.id = CKEDITOR.tools.getNextId(),
\r
classes = '',
\r
command = this.command, // Get the command name.
\r
clickFn,
\r
classes = '',
\r
command = this.command, // Get the command name.
\r
clickFn,
\r
@@
-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