r59805 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59804‎ | r59805 | r59806 >
Date:21:45, 7 December 2009
Author:tstarling
Status:ok
Tags:
Comment:
Revert debugging code accidentally left in from r59780
Modified paths:
  • /trunk/phase3/skins/common/edit.js (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/common/edit.js
@@ -46,9 +46,7 @@
4747
4848 // Don't generate buttons for browsers which don't fully
4949 // support it.
50 - var textbox = document.getElementById('wpTextbox1');
51 - if (!textbox) { return false; }
52 - //var textbox = document.createElement('textarea'); // abstract, don't assume wpTextbox1 is always there
 50+ var textbox = document.createElement('textarea'); // abstract, don't assume wpTextbox1 is always there
5351 if (!(document.selection && document.selection.createRange)
5452 && textbox.selectionStart === null) {
5553 return false;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r59780Replaced all instances of <<<END (which breaks vim syntax highlighting), with...tstarling08:51, 7 December 2009

Status & tagging log