From 6cfeab1c659cdeedcd4d78348982b8dbe359d487 Mon Sep 17 00:00:00 2001 From: drfho Date: Wed, 13 Nov 2024 11:26:16 +0100 Subject: [PATCH] fixed form names after refact --- Products/zms/ZMSWorkflowProvider.py | 12 ++++++++++-- Products/zms/import/_language.xml | 2 +- Products/zms/zpt/ZMSWorkflowProvider/manage_main.zpt | 3 ++- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/Products/zms/ZMSWorkflowProvider.py b/Products/zms/ZMSWorkflowProvider.py index b89cfdc16..6f66b9eef 100644 --- a/Products/zms/ZMSWorkflowProvider.py +++ b/Products/zms/ZMSWorkflowProvider.py @@ -342,7 +342,16 @@ def manage_changeWorkflow(self, lang, btn='', key='workflow_properties', REQUEST except: message += '[%s: %s]'%(node,'No history to pack') message = self.getZMILangStr('MSG_CHANGED')+message - + + # Content Assignment. + # ----------- + elif key == 'workflow_assignment': + # Save. + # ------ + if btn == 'BTN_SAVE': + self.nodes = standard.string_list(REQUEST.get('nodes', '')) + message = self.getZMILangStr('MSG_CHANGED') + # Properties. # ----------- elif key == 'workflow_properties': @@ -354,7 +363,6 @@ def manage_changeWorkflow(self, lang, btn='', key='workflow_properties', REQUEST new_autocommit = REQUEST.get('workflow', 0) == 0 self.revision = REQUEST.get('revision', '0.0.0') self.autocommit = new_autocommit - self.nodes = standard.string_list(REQUEST.get('nodes', '')) if old_autocommit == 0 and new_autocommit == 1: self.doAutocommit(lang, REQUEST) message = self.getZMILangStr('MSG_CHANGED') diff --git a/Products/zms/import/_language.xml b/Products/zms/import/_language.xml index 084c9132a..595c3f7f7 100644 --- a/Products/zms/import/_language.xml +++ b/Products/zms/import/_language.xml @@ -6422,7 +6422,7 @@ TAB_WORKFLOW_MODEL - Ablauf-Modell + Workflow-Modell Workflow Model Workflow Model Workflow Model diff --git a/Products/zms/zpt/ZMSWorkflowProvider/manage_main.zpt b/Products/zms/zpt/ZMSWorkflowProvider/manage_main.zpt index dc04cfc2d..c08b862e0 100644 --- a/Products/zms/zpt/ZMSWorkflowProvider/manage_main.zpt +++ b/Products/zms/zpt/ZMSWorkflowProvider/manage_main.zpt @@ -248,7 +248,8 @@
- + +