Problem with Editor.Text reset and image gallery - reproduced with demo

  •  01-02-2008, 6:17 PM

    Problem with Editor.Text reset and image gallery - reproduced with demo

    Hi,
     
    I'm having a problem with the implementation of image selection. See this demo:
     


    Basically, if you try to change an image and then cancel out of the gallery popup, the Editor.Text property has already been reset and is now empty so the original image no longer displays. VERY CONFUSING TO USERS! To reproduce, go to the demo referenced above, then:

    1. Click on Change Image
    2. Click on a new image, say Cindy Crawford :-)
    3. The gallery popup closes and Cindy is now gracing the screen
    4. Click on Change Image again, but this time do not select a new image but rather click Cancel
    5. The gallery popup closes and voila, Cindy is gone
     
    It actually appears to me, though I'm not certain, that the Editor.Text property is reset prior to the popup opening so that when it closes nothing is displayed in the control.
     
    It may well be possible to fix this by hacking around in the various and sundry nested JavaScript calls, but that may take hours to reverse-engineer. Some help would be appreciated.
     
    Running CE v6 on FireFox 2.0.0.11 on WinXP SP2.
     
    Regards,
    Greg

View Complete Thread