projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a2f8e4
)
Show success message when adding/editing PIP entries via GUI
author
Matthias Schmidt
<gravatronics@live.com>
Wed, 20 Mar 2019 08:30:21 +0000
(09:30 +0100)
committer
Matthias Schmidt
<gravatronics@live.com>
Wed, 20 Mar 2019 08:30:21 +0000
(09:30 +0100)
See #2545
wcfsetup/install/files/lib/acp/form/DevtoolsProjectPipEntryAddForm.class.php
patch
|
blob
|
blame
|
history
wcfsetup/install/files/lib/acp/form/DevtoolsProjectPipEntryEditForm.class.php
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/lib/acp/form/DevtoolsProjectPipEntryAddForm.class.php
b/wcfsetup/install/files/lib/acp/form/DevtoolsProjectPipEntryAddForm.class.php
index 1aa2f2379e4f373dbfd40280e6569190e2850005..874ffe024e9d700b99bd1f597d5a4d573f7f5c61 100644
(file)
--- a/
wcfsetup/install/files/lib/acp/form/DevtoolsProjectPipEntryAddForm.class.php
+++ b/
wcfsetup/install/files/lib/acp/form/DevtoolsProjectPipEntryAddForm.class.php
@@
-144,11
+144,6
@@
class DevtoolsProjectPipEntryAddForm extends AbstractFormBuilderForm {
$this->saved();
- // re-build form after having created a new object
- if ($this->formAction === 'create') {
- $this->buildForm();
- }
-
WCF::getTPL()->assign('success', true);
}
diff --git
a/wcfsetup/install/files/lib/acp/form/DevtoolsProjectPipEntryEditForm.class.php
b/wcfsetup/install/files/lib/acp/form/DevtoolsProjectPipEntryEditForm.class.php
index 6c8605e712558dfe127239b19e60f8e6c0bde456..38d2a78fbd01a7226533c881050917f4875feaf0 100644
(file)
--- a/
wcfsetup/install/files/lib/acp/form/DevtoolsProjectPipEntryEditForm.class.php
+++ b/
wcfsetup/install/files/lib/acp/form/DevtoolsProjectPipEntryEditForm.class.php
@@
-104,6
+104,8
@@
class DevtoolsProjectPipEntryEditForm extends DevtoolsProjectPipEntryAddForm {
*/
public function saved() {
AbstractForm::saved();
+
+ $this->form->showSuccessMessage(true);
}
/**