Closed (fixed)
Project:
Automodal
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2010 at 18:00 UTC
Updated:
28 Nov 2013 at 11:20 UTC
Jump to comment: Most recent
See attached patch. This will prevent a modal from closing when previewing a node (via node_add form).
| Comment | File | Size | Author |
|---|---|---|---|
| automodal_nodePreview.patch | 467 bytes | mstef |
Comments
Comment #1
mstef commentedComment #2
hefox commentedShould likely be testing if button submitted was preview button instead of not save/delete (seen often people customizing labels of submit buttons.. or adding a new one). The information for submitted button is in form state to my memory.
Also, breaks translation since 'Save' and not t('Save')
Comment #3
dsnopekUpdated patch per @hefox's review and committed in 917b71f. Thanks, @mstef!