r50257 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50256‎ | r50257 | r50258 >
Date:09:30, 6 May 2009
Author:thomasv
Status:ok
Tags:
Comment:
minor tweak
Modified paths:
  • /trunk/extensions/ProofreadPage/proofread.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ProofreadPage/proofread.js
@@ -115,11 +115,11 @@
116116
117117 container.innerHTML = ''
118118 +'<div id="prp_header" style="display:none">'+proofreadPageMessageHeader+'<br/>'
119 - +'<textarea name="headerTextbox" rows="4" cols="80">'+pageHeader+'</textarea>'
 119+ +'<textarea name="headerTextbox" rows="2" cols="80">'+pageHeader+'</textarea>'
120120 +'<br/>'+proofreadPageMessagePageBody+'<br/></div>'
121121 +'<textarea name="wpTextbox1" id="wpTextbox1" rows="40" cols="80">'+pageBody+'</textarea>'
122122 +'<div id="prp_footer" style="display:none"><br/>'+proofreadPageMessageFooter+'<br/>'
123 - +'<textarea name="footerTextbox" rows="4" cols="80">'+pageFooter+'</textarea></div>';
 123+ +'<textarea name="footerTextbox" rows="2" cols="80">'+pageFooter+'</textarea></div>';
124124
125125
126126 var saveButton = document.getElementById("wpSave");
@@ -149,7 +149,7 @@
150150 } else {
151151 h.style.cssText = '';
152152 f.style.cssText = '';
153 - if(self.vertHeight) box.style.cssText = "height:"+(vertHeight-270)+"px";
 153+ if(self.vertHeight) box.style.cssText = "height:"+(vertHeight-190)+"px";
154154 }
155155 }
156156
@@ -793,7 +793,7 @@
794794 if(self.pr_horiz)
795795 document.getElementById("wpTextbox1").style.cssText = "height:"+self.vertHeight+"px";
796796 else
797 - document.getElementById("wpTextbox1").style.cssText = "height:"+(self.vertHeight-7)+"px";
 797+ document.getElementById("wpTextbox1").style.cssText = "height:"+self.vertHeight+"px";
798798 pr_zoom(0);
799799 }
800800 else proofreadPageZoom();

Status & tagging log