HUE-933 [oozie] Fix clone node and unsaved ribbon
Review Request #2531 — Created Dec. 14, 2012 and submitted
commit f192da20950adfdf54da20a5e5a756e2776a14ec Author: abec <firstname.lastname@example.org> Date: Fri Dec 14 13:17:26 2012 -0800 HUE-933 [oozie] Fix clone node and unsaved ribbon Unsaved ribbon was not going away because we were not setting the timeout effectively. Using setInterval instead. Clone node was not handling ribbon and state like edit and new node are. Clone node follows the same logic as new node and edit node now. First, the node is created and registered, but not added to the workflow. If the node is successfully added (validated), then we add it to the workflow. Otherwise, erase it if failed to validate and user cancels the clone process. :100644 100644 a28ed4a... 79adf1d... M apps/oozie/src/oozie/templates/editor/edit_workflow.mako :100644 100644 6149519... 843a83c... M apps/oozie/static/js/workflow.js
Manually verified ribbon disappears and reappears consistently when cloning and saving a node. Manually verified node clone work.