Closed (fixed)
Project:
nodeformpopup
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Aug 2006 at 20:41 UTC
Updated:
1 Sep 2006 at 19:45 UTC
It would be nice if the module offered a way to either reuse the popup window or somehow close it when the node is submitted (neither happens on Safari). For the latter, the simplest solution is a link; one could argue, however, that the window closing is confirmation of success, since failure would leave the window open with the problem highlighted.
Comments
Comment #1
Egon Bianchet commentedIt could work like this:
If there is no error message, wait 2 seconds, then close the window, else leave it open
Comment #2
admincyma commentedGood idea for the time out. In the same vein, a CANCEL button (that closes the window) could be useful as well (next to preview and submit).
And note that right now if there is an error, the form is refreshed, the problem fields are red, but there is no message displayed in the window. I had the error messages displayed on the Drupal site a couple of times. Should I post another issue or do you consider them all related?
Thanks for the support so far.
Comment #3
Egon Bianchet commentedI've implemented the new features, except for the cancel button. I'm not sure about it ... isn't the window close button sufficient?
Comment #4
admincyma commentedYes, if it is there, the close box provides the functionality. I was just thinking a cancel button could be easier for non web experts. Because of our understanding of the web model, we know that unless we commit, nothing has been saved in the DB. It may not be the case for everybody, and an explicit 'CANCEL' button fixes it, for a negligible cost IMHO.
Thanks for the fixes, will try them and report any issue with them.
Comment #5
Egon Bianchet commentedThat's a valid reason, but it think that it belongs to Drupal core. Having a cancel button on popup but not on regular forms would be inconsistent ...
Comment #6
(not verified) commented