X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Frichcombo%2Fplugin.js;h=d7895c8b947fc763b1506427d9b765297e022c4c;hp=76523bc1ca692037567fa06fd52535ff8d89f5b5;hb=9afde8772159bd3436f1f5b7862960307710ae5a;hpb=614511639979907ceb0da3614122a4d8eb963ad4
diff --git a/_source/plugins/richcombo/plugin.js b/_source/plugins/richcombo/plugin.js
index 76523bc..d7895c8 100644
--- a/_source/plugins/richcombo/plugin.js
+++ b/_source/plugins/richcombo/plugin.js
@@ -106,8 +106,7 @@ CKEDITOR.ui.richCombo = CKEDITOR.tools.createClass(
return;
}
- !_.committed && this.commit();
-
+ this.commit();
var value = this.getValue();
if ( value )
_.list.mark( value );
@@ -197,7 +196,7 @@ CKEDITOR.ui.richCombo = CKEDITOR.tools.createClass(
'' +
'' + this.label + '' +
'' +
- '' + ( CKEDITOR.env.hc ? '▼' : '' ) + '' + // BLACK DOWN-POINTING TRIANGLE
+ '' + ( CKEDITOR.env.hc ? '▼' : CKEDITOR.env.air ? ' ' : '' ) + '' + // BLACK DOWN-POINTING TRIANGLE
'' +
'' +
'' );
@@ -345,7 +344,12 @@ CKEDITOR.ui.richCombo = CKEDITOR.tools.createClass(
commit : function()
{
- this._.list.commit();
+ if ( !this._.committed )
+ {
+ this._.list.commit();
+ this._.committed = 1;
+ CKEDITOR.ui.fire( 'ready', this );
+ }
this._.committed = 1;
},