PDA

View Full Version : [FIXED-701] Ext.Editor allowBlur property



dtex-lab
9 Mar 2010, 2:40 AM
Hi,
the documentation of allowBlur property says:
True to complete the editing process if in edit mode when the field is blurred. Defaults to false

The source code


onBlur : function(){
// selectSameEditor flag allows the same editor to be started without onBlur firing on itself
if(this.allowBlur !== true && this.editing && this.selectSameEditor !== true){
this.completeEdit();
}
},


What's the desired behavior?

Thanks

jsakalos
9 Mar 2010, 3:30 AM
Yes, it seems like the condition is reversed and it should read:


if(this.allowBlur === true ...


As this need a clarification, I'm moving the thread to bugs.

evant
18 Mar 2010, 6:43 PM
Fixed in rev 6324.