Closed (won't fix)
Project:
Workflow Extensions
Version:
6.x-1.6
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
18 Nov 2011 at 16:27 UTC
Updated:
29 Jan 2013 at 03:37 UTC
So, we're using the noderelationships module. We have a nodereference field. noderelationships lets you click a button from the nodereference, and it will open up a modalframe that lets you edit the referenced node inline.
It adds a submit handler that adds javascript to close the modalframe when you submit.
However, with workflow_extensions enabled, the submit handler doesn't get moved to the new buttons.
Here is a patch that makes sure to copy all the submit handlers to the new buttons. That way, if you're editing a referenced node, you can hit one of the submit buttons that sends it to a workflow state, and the modalframe will close.
| Comment | File | Size | Author |
|---|---|---|---|
| workflow_extensions_noderelationships.diff | 2.31 KB | galaxor |
Comments
Comment #1
rdeboerThanks for the patch galaxor!
Rik
Comment #2
rdeboerDarn.... forgot to include this patch when releasing 6.x-1.7.
Will add to 6.x-1.x dev branch.
Comment #3
rdeboerLooking at the patch code, it seems that the condition
($form['#id'] == 'node-form')has gone from_workflow_extensions_assign_handlers($form)?Is that intentional?
I'm happy with the changes regarding the weight increase of Workflow Extensions to come after NodeRelationships.
Comment #4
rdeboerQuestion in #3 not answered.
Closing due to inactivity.