PDA

View Full Version : Resizable 'handles' option with value 'true' fails


sjivan
07-23-2007, 09:59 PM
# Ext version + build no : 1.1 RC1
# yui 2.2.2
# windows xp
# browser : IE 6.x

The Resizable handles option accepts a boolean but when 'true' is passed, the call marked below fails. handles = true should probably be treated as 'all'.


if(!this.handles){ this.handles = 's,e,se';
if(this.multiDirectional){
this.handles += ',n,w';
}
}
if(this.handles == "all"){
this.handles = "n s e w ne nw se sw";
}
--->var hs = this.handles.split(/\s*?[,;]\s*?| /);



Sanjiv

jack.slocum
07-24-2007, 04:40 AM
Hi Sanjiv, this is doc error. It doesn't accept a boolean. The docs have been updated to correctly read:

* @cfg {String} handles String consisting of the resize handles to display (defaults to undefined)

sjivan
07-24-2007, 06:18 AM
Thanks.