From 5f51734f4466cf842098d3e79e6113d24fbc930d Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Sat, 1 May 2004 01:21:36 +0000 Subject: [PATCH] bah- edit tab was always selected.. --- includes/SkinPHPTal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SkinPHPTal.php b/includes/SkinPHPTal.php index 460ee355dd..d31980597d 100644 --- a/includes/SkinPHPTal.php +++ b/includes/SkinPHPTal.php @@ -333,7 +333,7 @@ $istalk = ( Namespace::isTalk( $wgTitle->getNamespace()) ); $istalkclass = $istalk?' istalk':''; $content_actions['edit'] = array( - 'class' => (($this->iseditable and $section != 'new') ? 'selected' : '').$istalkclass, + 'class' => ((($action == 'edit' or $action == 'submit') and $section != 'new') ? 'selected' : '').$istalkclass, 'text' => wfMsg('edit'), 'href' => $this->makeUrl($this->thispage, 'action=edit'.$oid), 'ttip' => wfMsg('tooltip-edit'), -- 2.20.1