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.