Browse Source

_setVisible

master
windy 7 years ago
parent
commit
b568614903
  1. 34
      dist/_fineui.min.js
  2. 24
      dist/bundle.js
  3. 34
      dist/bundle.min.js
  4. 24
      dist/case.js
  5. 24
      dist/fineui.js
  6. 34
      dist/fineui.min.js
  7. 6
      src/case/richeditor/plugins/combo.backgroundcolorchooser.js
  8. 6
      src/case/richeditor/plugins/combo.colorchooser.js
  9. 6
      src/case/richeditor/plugins/combo.fontfamily.js
  10. 6
      src/case/richeditor/plugins/combo.sizechooser.js

34
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

24
dist/bundle.js vendored

@ -83918,6 +83918,12 @@ BI.RichEditorBackgroundColorChooser = BI.inherit(BI.RichEditorAction, {
}
},
_setVisible: function (b) {
if(b === false) {
this.colorchooser.hideView();
}
},
deactivate: function () {
}
});
@ -83964,6 +83970,12 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
}
},
_setVisible: function (b) {
if(b === false) {
this.colorchooser.hideView();
}
},
activate: function (rgb) {
this.colorchooser.setValue(BI.DOM.rgb2hex(rgb));
},
@ -84031,6 +84043,12 @@ BI.shortcut("bi.rich_editor_color_chooser", BI.RichEditorColorChooser);BI.RichEd
});
},
_setVisible: function (b) {
if(b === false) {
this.combo.hideView();
}
},
hideIf: function (e) {
if(!this.combo.element.find(e.target).length > 0) {
this.combo.hideView();
@ -84112,6 +84130,12 @@ BI.RichEditorSizeChooser = BI.inherit(BI.RichEditorAction, {
});
},
_setVisible: function (b) {
if(b === false) {
this.combo.hideView();
}
},
hideIf: function (e) {
if(!this.combo.element.find(e.target).length > 0) {
this.combo.hideView();

34
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

24
dist/case.js vendored

@ -11429,6 +11429,12 @@ BI.RichEditorBackgroundColorChooser = BI.inherit(BI.RichEditorAction, {
}
},
_setVisible: function (b) {
if(b === false) {
this.colorchooser.hideView();
}
},
deactivate: function () {
}
});
@ -11475,6 +11481,12 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
}
},
_setVisible: function (b) {
if(b === false) {
this.colorchooser.hideView();
}
},
activate: function (rgb) {
this.colorchooser.setValue(BI.DOM.rgb2hex(rgb));
},
@ -11542,6 +11554,12 @@ BI.shortcut("bi.rich_editor_color_chooser", BI.RichEditorColorChooser);BI.RichEd
});
},
_setVisible: function (b) {
if(b === false) {
this.combo.hideView();
}
},
hideIf: function (e) {
if(!this.combo.element.find(e.target).length > 0) {
this.combo.hideView();
@ -11623,6 +11641,12 @@ BI.RichEditorSizeChooser = BI.inherit(BI.RichEditorAction, {
});
},
_setVisible: function (b) {
if(b === false) {
this.combo.hideView();
}
},
hideIf: function (e) {
if(!this.combo.element.find(e.target).length > 0) {
this.combo.hideView();

24
dist/fineui.js vendored

@ -84161,6 +84161,12 @@ BI.RichEditorBackgroundColorChooser = BI.inherit(BI.RichEditorAction, {
}
},
_setVisible: function (b) {
if(b === false) {
this.colorchooser.hideView();
}
},
deactivate: function () {
}
});
@ -84207,6 +84213,12 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
}
},
_setVisible: function (b) {
if(b === false) {
this.colorchooser.hideView();
}
},
activate: function (rgb) {
this.colorchooser.setValue(BI.DOM.rgb2hex(rgb));
},
@ -84274,6 +84286,12 @@ BI.shortcut("bi.rich_editor_color_chooser", BI.RichEditorColorChooser);BI.RichEd
});
},
_setVisible: function (b) {
if(b === false) {
this.combo.hideView();
}
},
hideIf: function (e) {
if(!this.combo.element.find(e.target).length > 0) {
this.combo.hideView();
@ -84355,6 +84373,12 @@ BI.RichEditorSizeChooser = BI.inherit(BI.RichEditorAction, {
});
},
_setVisible: function (b) {
if(b === false) {
this.combo.hideView();
}
},
hideIf: function (e) {
if(!this.combo.element.find(e.target).length > 0) {
this.combo.hideView();

34
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

6
src/case/richeditor/plugins/combo.backgroundcolorchooser.js

@ -39,6 +39,12 @@ BI.RichEditorBackgroundColorChooser = BI.inherit(BI.RichEditorAction, {
}
},
_setVisible: function (b) {
if(b === false) {
this.colorchooser.hideView();
}
},
deactivate: function () {
}
});

6
src/case/richeditor/plugins/combo.colorchooser.js

@ -41,6 +41,12 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
}
},
_setVisible: function (b) {
if(b === false) {
this.colorchooser.hideView();
}
},
activate: function (rgb) {
this.colorchooser.setValue(BI.DOM.rgb2hex(rgb));
},

6
src/case/richeditor/plugins/combo.fontfamily.js

@ -57,6 +57,12 @@ BI.RichEditorFontChooser = BI.inherit(BI.RichEditorAction, {
});
},
_setVisible: function (b) {
if(b === false) {
this.combo.hideView();
}
},
hideIf: function (e) {
if(!this.combo.element.find(e.target).length > 0) {
this.combo.hideView();

6
src/case/richeditor/plugins/combo.sizechooser.js

@ -73,6 +73,12 @@ BI.RichEditorSizeChooser = BI.inherit(BI.RichEditorAction, {
});
},
_setVisible: function (b) {
if(b === false) {
this.combo.hideView();
}
},
hideIf: function (e) {
if(!this.combo.element.find(e.target).length > 0) {
this.combo.hideView();

Loading…
Cancel
Save