Hey all,
The framework i'm using (django admin) pops up a new window when adding new items to the database. I would like to use a light box instead of popping up a new window (fancybox for now), and i'm using the iframe option. However, when i click save in the iframe, a request gets sent to the server, and the server responds with a page contains only the javascript code: opener.dismissAddAnotherPopup(...). This function basically closes the window and refresh the fields in the parent (opener) window. Since i don't have opener set, it returns an error and never closes the iframe. Is there anyway of setting opener on the iframe so that it won't be null?
Thanks a lot!
Jason