Results 1 to 3 of 3

Thread: setSrc of Ext.ImageComponent doesn't redraw the change

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium User vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Cluj, Romania
    Posts
    807

    Default setSrc of Ext.ImageComponent doesn't redraw the change

    Is this a bug ?, see reply1 and reply7 : http://www.sencha.com/forum/showthre...776#post590776
    Version Number: 4.0.0beta2

  2. #2
    Sencha Premium Member steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,675

    Default

    or the fix (Ext.ImageComponent):

    Code:
    setSrc: function(src) {
            var me = this,
                img = me.el;
            me.src = src;
            if (img) {
                img.dom.src = src;
            }
        }
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  3. #3
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    Fixed now, thanks.

    BTW, the class is now called Ext.Img in the newest code to be released.

    The "Component" suffix was redundant; It is a Component. And "img" is the kind of element it encapsulates.

Similar Threads

  1. Orientation change redraw
    By bestusername in forum Sencha Touch 1.x: Discussion
    Replies: 11
    Last Post: 8 Dec 2011, 12:24 AM
  2. setSrc of Ext.ImageComponent
    By vadimv in forum Ext: Discussion
    Replies: 12
    Last Post: 13 Sep 2011, 1:04 AM
  3. Getting Carousel to Redraw on Orientation Change
    By dankhan in forum Sencha Touch 1.x: Discussion
    Replies: 21
    Last Post: 9 Dec 2010, 7:55 AM
  4. Grid only loads in Basic Dialog Once? Doesn't Redraw?
    By nromanel in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 15 Aug 2007, 8:55 AM
  5. DomHelper doesn't redraw page in IE7
    By jhericks in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 13 Feb 2007, 11:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •