Hide "Save and View"-button when editing a content-element
|Priority:||Should have||Due date:|
|Assigned To:||Steffen Kamper||% Done:||
At the moment you can only hide this button by adding "&noView=1" when calling alt_doc.php.
A way to hide it via TSconfig-code is missing.
(issue imported from #M10827)
#1 Updated by Oliver Hader almost 8 years ago
e.g. new TSconfig property
options.saveDocView.[table] = 0
#2 Updated by Steffen Kamper almost 8 years ago
attached patch adds possibility for options.saveDocView.[table] = 0
#3 Updated by Steffen Kamper almost 8 years ago
2nd version is needed to set it by default to 1 (same behaviour as saveDocNew)
#4 Updated by Patrick Gaumond almost 8 years ago
I there any reason not to make it automatic when Page where the record is edited is a Sysfolder ?
So we keep seeing saveDocView=1 until the record is on a sysfolder. Should I open a new feature for such a "logical enhancement" ? ;)
#6 Updated by Christian Kuhn almost 8 years ago
@Patrick, Steffen: Hide "Save and View" for sysfolders is already requested with #20194. Just added a relation.