Select an image outside of Cute Editor?

Last post 07-17-2007, 3:09 PM by dotcom. 20 replies.
Page 2 of 2 (21 items)   < Previous 1 2
Sort Posts: Previous Next
  •  07-17-2007, 3:09 PM 31636 in reply to 31630

    Result

    Adam,
     
    Great, that works. What did you have to do to get it working? I notice the extra line in the javascript function in the ASPX page. I think you also made some CE configuration changes because the dialog was looking for a different directory. Which files did you change? I need to apply the same changes to my source-controlled version.
     
    Just one problem that I see with the code as it stands. If you cancel from the image gallery dialog, the Javascript loop runs on until you close or reload the page. I have put an alert statement into the InputUrl function to show you what I mean. Just run the page, click on the button and then cancel out of the dialog.
     
    Not knowing the CE Javascript API implementation, I don't know if there is a way of detecting that the cancel button has been pressed that could be used to break out of the loop. Can you suggest a way?
     
    Thanks,
     
    Paul

    Paul Taylor
    Dotcom Software Solutions
Page 2 of 2 (21 items)   < Previous 1 2
View as RSS news feed in XML