Fix form builder-related issues with PIP GUI
authorMatthias Schmidt <gravatronics@live.com>
Mon, 28 Jan 2019 17:31:38 +0000 (18:31 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 28 Jan 2019 17:31:38 +0000 (18:31 +0100)
See #2545

wcfsetup/install/files/lib/acp/form/DevtoolsProjectEditForm.class.php
wcfsetup/install/files/lib/acp/form/DevtoolsProjectPipEntryEditForm.class.php

index dda5b3c9d4529c627ff4fab27ad4bce13d8f883a..6f8e291ada3ed3ea5a92e82f0f010c7830930b4a 100644 (file)
@@ -29,7 +29,7 @@ class DevtoolsProjectEditForm extends DevtoolsProjectAddForm {
        /**
         * @inheritDoc
         */
-       public $formAction = 'update';
+       public $formAction = 'edit';
        
        /**
         * @inheritDoc
index ce57463646c2cd69e80db492d113b5c963a59aec..641b9a176f6385e22a84e0f54f6b4c6c3d39df1e 100644 (file)
@@ -99,6 +99,13 @@ class DevtoolsProjectPipEntryEditForm extends DevtoolsProjectPipEntryAddForm {
                }
        }
        
+       /**
+        * @inheritDoc
+        */
+       public function saved() {
+               AbstractForm::saved();
+       }
+       
        /**
         * @inheritDoc
         */