src/pyams_skin/resources/js/ext/tinymce/dev/classes/ui/ColorBox.min.js
changeset 557 bca7a7e058a3
equal deleted inserted replaced
-1:000000000000 557:bca7a7e058a3
       
     1 define("tinymce/ui/ColorBox",["tinymce/ui/ComboBox"],function(a){return a.extend({init:function(c){var b=this;c.spellcheck=false;if(c.onaction){c.icon="none"}b._super(c);b.addClass("colorbox");b.on("change keyup postrender",function(){b.repaintColor(b.value())})},repaintColor:function(c){var d=this.getEl().getElementsByTagName("i")[0];if(d){try{d.style.background=c}catch(b){}}},value:function(c){var b=this;if(typeof c!="undefined"){if(b._rendered){b.repaintColor(c)}}return b._super(c)}})});