r24545 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24544‎ | r24545 | r24546 >
Date:14:41, 2 August 2007
Author:bartek
Status:old
Tags:
Comment:

path correction III
Modified paths:
  • /trunk/extensions/wikiwyg/share/MediaWiki/extensions/CreatePage/js/createpage.js (modified) (history)

Diff [purge]

Index: trunk/extensions/wikiwyg/share/MediaWiki/extensions/CreatePage/js/createpage.js
@@ -296,7 +296,7 @@
297297
298298 proto.saveChanges = function (mode) {
299299 var title = document.getElementById ('title') ;
300 - document.editform.action="index.php?title=" + title.value + "&action=submit" ;
 300+ document.editform.action= wgScriptPath + "/index.php?title=" + title.value + "&action=submit" ;
301301 this.disableCreateButtons () ;
302302 var input1 = document.createElement ('input') ;
303303 input1.setAttribute ('name','wpTextbox1') ;

Status & tagging log