My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 572: Can't close onsubmit
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by sfrais...@gmail.com, May 19, 2011
What steps will reproduce the problem?
1. Upload/crop image loads in nyromodal
2. Upload image, crop it, then hit submit button
3. Image is saved to db and on close parent image div updates. It all works fine except I need the modal window to close onsubmit instead of having to hit the close button.

What is the expected output? What do you see instead?
I tried onSubmit="parent.$.nyroModalRemove();, I've tried onSubmit="parent.$.nmTop().close();", I've added the class="nyroModalClose", I've even tried simple things like window.close(). I've tried substituting onSubmit with onclick, absolutely nothing seems to work. It's seems like such a simple thing yet it just won't close no matter what I try. It makes me want to hurt small kittens.

What version of the product are you using? On what operating system?
Latest version 2.0
jquery 1.4.4 in noconflict mode using $j as the substitute as everything else I have runs on jquery 1.5.1. 

Please provide any additional information below.
It's currently 5:56am and it's a brisk 53 degrees with clear skies. Also not sure if this matters or not but I'm wearing a white shirt and my coffee is getting cold.


Jul 25, 2011
#1 TysonSav...@gmail.com
Did you figure out this issue? I have something similar, open a nyroModal window edit some text submit form ajax, all good except I can't for the life of me get the window to close. Unless I pop up a message asking the user to click the close link..

Powered by Google Project Hosting