I am developing a new imagebrowse dialog with the possibility of deleting files wich I will share withe the project when ready. It has a nicer look, and has also the possibility to preview thumbnails so selection of the image is more handy.
So far it is perfectly working, all functionality is available.
But:
When i change the view from filenames to thumbs or when I delete an image, the imagebrowser reload's to show the changes. After reloading the OK button is not working anymore, so it is useless.
I know that the imagebrowser is called by a javascript in fck_image.html and waits for the return of the setimage value.
While reloadin the imagebrowser, this variable is lost and the imagebrowser is 'disconnected' from fck_image.html
Javascript is not my native language, so I tried, but cannot provide a solution for this.
My Question: How can I keep the connection between both fck_image.html and the imagebrowser when I reload the last one???
So far it is perfectly working, all functionality is available.
But:
When i change the view from filenames to thumbs or when I delete an image, the imagebrowser reload's to show the changes. After reloading the OK button is not working anymore, so it is useless.
I know that the imagebrowser is called by a javascript in fck_image.html and waits for the return of the setimage value.
While reloadin the imagebrowser, this variable is lost and the imagebrowser is 'disconnected' from fck_image.html
Javascript is not my native language, so I tried, but cannot provide a solution for this.
My Question: How can I keep the connection between both fck_image.html and the imagebrowser when I reload the last one???