PDA

View Full Version : [FIXED] "string is undefined" when setting element style



saprot
26 Feb 2011, 12:31 AM
Semicolon and space at the end of style produces error:



{
...
style : 'blahblah: blah; blehbleh: bleh', //<-- works
...
}




{
...
style : 'blahblah: blah; blehbleh: bleh; ', //<-- doesn't work
...
}


second code gives Firebug error:


string is undefined
return string.replace(Ext.String.trimRegex, "");
ext-core-debug.js (line 862)

evant
28 Feb 2011, 5:26 PM
A fix for this has been added, thanks for the report.