r50375 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50374‎ | r50375 | r50376 >
Date:17:50, 9 May 2009
Author:j
Status:deferred
Tags:
Comment:
add ;
Modified paths:
  • /trunk/extensions/MetavidWiki/skins/add_media_wizard.js (modified) (history)

Diff [purge]

Index: trunk/extensions/MetavidWiki/skins/add_media_wizard.js
@@ -107,7 +107,7 @@
108108 r.moveEnd('character', o.value.length)
109109 if (r.text == '') return o.value.length
110110 return o.value.lastIndexOf(r.text)
111 - } else return o.selectionStart
 111+ } else return o.selectionStart;
112112 }
113113 var getTextCusorEndPos = function (o){
114114 if (o.createTextRange) {
@@ -115,14 +115,14 @@
116116 r.moveStart('character', -o.value.length);
117117 return r.text.length;
118118 } else{
119 - return o.selectionEnd
 119+ return o.selectionEnd;
120120 }
121121 }
122122 caret_pos.s = getTextCusorStartPos( txtarea );
123123 caret_pos.e = getTextCusorEndPos( txtarea );
124124 caret_pos.text = txtarea.value;
125125 //show the loading screen:
126 - var elm = document.getElementById('modalbox')
 126+ var elm = document.getElementById('modalbox');
127127 if(elm){
128128 //use jquery to re-display the search
129129 if( typeof $j != 'undefined'){

Status & tagging log