projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b1d6e9
)
Roo/form/HtmlEditor/ToolbarStandard.js
author
Edward
<edward@roojs.com>
Fri, 19 Jun 2015 03:26:47 +0000
(11:26 +0800)
committer
Edward
<edward@roojs.com>
Fri, 19 Jun 2015 03:26:47 +0000
(11:26 +0800)
Roo/form/HtmlEditor/ToolbarStandard.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor/ToolbarStandard.js
b/Roo/form/HtmlEditor/ToolbarStandard.js
index
11750c2
..
c4ed924
100644
(file)
--- a/
Roo/form/HtmlEditor/ToolbarStandard.js
+++ b/
Roo/form/HtmlEditor/ToolbarStandard.js
@@
-603,7
+603,7
@@
Roo.apply(Roo.form.HtmlEditor.ToolbarStandard.prototype, {
if(sourceEditMode){
Roo.log("disabling buttons");
this.tb.items.each(function(item){
- if(item.cmd != 'sourceedit'){
+ if(item.cmd != 'sourceedit'
&& (typeof(item.cls) != 'undefined' && item.cls.indexOf('x-init-enable') === -1)
){
item.disable();
}
});