// disable everything...
- var ty = this.constructor.superclass.types;
+ var ty = this.constructor.types;
this.button_groups = {};
// block toolbars are built in updateToolbar when needed.
for (var i in ty) {
*/
updateToolbar: function(editor ,ev, sel)
{
- var ty = this.constructor.superclass.types;
+ var ty = this.constructor.types;
if (ev) {
}
- if (this.active_group.name == tn && lastSel == this.selectedNode && ev !== false) {
+ if ( this.active_group !== false && this.active_group.name == tn && lastSel == this.selectedNode && ev !== false) {
return; // no change?
}