Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Nov 2009
    Location
    Poland
    Posts
    84
    Vote Rating
    2
    saprot is on a distinguished road

      0  

    Default [FIXED] "string is undefined" when setting element style

    [FIXED] "string is undefined" when setting element style


    Semicolon and space at the end of style produces error:

    PHP Code:
    {
         ...
         
    style 'blahblah: blah; blehbleh: bleh'//<-- works
         
    ...

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

    second code gives Firebug error:
    PHP Code:
    string is undefined
    return string.replace(Ext.String.trimRegex"");
    ext-core-debug.js (line 862

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,913
    Vote Rating
    630
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    A fix for this has been added, thanks for the report.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Similar Threads

  1. Replies: 3
    Last Post: 16 Oct 2013, 10:59 PM
  2. Replies: 1
    Last Post: 7 Jul 2009, 4:35 PM
  3. [FIXED][3.0] element.style-more.js boxWrap broken
    By Animal in forum Ext 3.x: Bugs
    Replies: 1
    Last Post: 8 Apr 2009, 7:19 AM
  4. [FIXED][3.0] element.style-more.js boxWrap broken
    By Animal in forum Ext 2.x: Bugs
    Replies: 1
    Last Post: 8 Apr 2009, 7:19 AM

Thread Participants: 1