projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a347cc
)
roojs-debug.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 31 Aug 2011 08:14:02 +0000
(16:14 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 31 Aug 2011 08:14:02 +0000
(16:14 +0800)
roojs-debug.js
patch
|
blob
|
history
diff --git
a/roojs-debug.js
b/roojs-debug.js
index
d69842f
..
362e388
100644
(file)
--- a/
roojs-debug.js
+++ b/
roojs-debug.js
@@
-40550,10
+40550,12
@@
Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype, {
tn = sel.tagName.toUpperCase();
+ var lastSel = this.tb.selectedNode
+
this.tb.selectedNode = sel;
// if current menu does not match..
- if (
this.tb.name != tn
) {
+ if (
(this.tb.name != tn) || (lastSel != this.tb.selectedNode)
) {
this.tb.el.hide();
///console.log("show: " + tn);