aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2018-11-27 10:44:25 -0500
committerBrian Evans <grknight@gentoo.org>2018-11-27 10:44:25 -0500
commit499b6b4813c609613b71dffb275e3ce15b3cfa72 (patch)
tree02595018af9db447d57432b583aff032d1f2abad /TyrianTemplate.php
parentAdd notices to CSS so they appear correctly under the user (diff)
downloadskin-tyrian-499b6b4813c609613b71dffb275e3ce15b3cfa72.tar.gz
skin-tyrian-499b6b4813c609613b71dffb275e3ce15b3cfa72.tar.bz2
skin-tyrian-499b6b4813c609613b71dffb275e3ce15b3cfa72.zip
Add alternate name for new PageForms
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'TyrianTemplate.php')
-rw-r--r--TyrianTemplate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/TyrianTemplate.php b/TyrianTemplate.php
index eeef4aa..4be0530 100644
--- a/TyrianTemplate.php
+++ b/TyrianTemplate.php
@@ -245,7 +245,7 @@ class TyrianTemplate extends BaseTemplate {
foreach ( $this->data['content_actions'] as $key => $tab ) {
// TODO: handling form_edit separately here is a hack, no idea how it works in Vector.
- if ( isset($tab['primary']) && $tab['primary'] == '1' || $key == 'form_edit' ) {
+ if ( isset($tab['primary']) && $tab['primary'] == '1' || $key == 'form_edit' || $key == 'formedit' ) {
if ( isset($tab['context']) ) {
$context_actions[$key] = $tab;