Index: trunk/extensions/wikiwyg/share/MediaWiki/extensions/CreatePage/js/createpage.js |
— | — | @@ -296,7 +296,7 @@ |
297 | 297 | |
298 | 298 | proto.saveChanges = function (mode) { |
299 | 299 | 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" ; |
301 | 301 | this.disableCreateButtons () ; |
302 | 302 | var input1 = document.createElement ('input') ; |
303 | 303 | input1.setAttribute ('name','wpTextbox1') ; |