r85748 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85747‎ | r85748 | r85749 >
Date:06:58, 10 April 2011
Author:aaron
Status:ok
Tags:
Comment:
Made JS back link override actually work
Modified paths:
  • /trunk/extensions/FlaggedRevs/presentation/RejectConfirmationFormGUI.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/presentation/RejectConfirmationFormGUI.php
@@ -132,7 +132,7 @@
133133 $form .= Html::input( 'wpSubmit', wfMsg( 'revreview-reject-confirm' ), 'submit' );
134134 $form .= ' ';
135135 $form .= $skin->link( $this->form->getPage(), wfMsg( 'revreview-reject-cancel' ),
136 - array( 'onClick' => 'history.back()' ),
 136+ array( 'onClick' => 'history.back(); return false;' ),
137137 array( 'oldid' => $this->form->getRefId(), 'diff' => $this->form->getOldId() ) );
138138 $form .= Xml::closeElement( 'form' );
139139

Status & tagging log