From 08505e404feaf25dae0741eb381980f26b2f6d98 Mon Sep 17 00:00:00 2001 From: andi Date: Thu, 3 Mar 2005 09:29:34 +0100 Subject: baseURL patch in JS darcs-hash:20050303082934-9977f-3578ea0d40604ace4b1efd7746bae3681dc8cdab.gz --- script.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/script.js b/script.js index f39877e34..dbd4007fb 100644 --- a/script.js +++ b/script.js @@ -37,7 +37,7 @@ function escapeQuotes(text) { */ function showLoadBar(){ if(document.getElementById){ - document.write(''); } } @@ -88,7 +88,7 @@ function formatButton(imageFile, speedTip, tagOpen, tagClose, sampleText, access document.write("('"+tagOpen+"','"+tagClose+"','"+sampleText+"');\">"); document.write("\""+"); document.write(""); return; @@ -111,7 +111,7 @@ function insertButton(imageFile, speedTip, value, accessKey) { document.write("(document.editform.wikitext,'"+value+"');\">"); document.write("\""+"); document.write(""); return; @@ -126,10 +126,10 @@ function mediaButton(imageFile, speedTip, accessKey, namespace) { if(accessKey){ document.write("accesskey=\""+accessKey+"\" "); } - document.write("href=\"javascript:void(window.open('"+baseURL+"media.php?ns="+ + document.write("href=\"javascript:void(window.open('"+DOKU_BASE+"media.php?ns="+ namespace+"','mediaselect','width=600,height=320,left=70,top=50,scrollbars=yes'));\">"); document.write("\""+"); document.write(""); return; @@ -330,8 +330,8 @@ function showSizeCtl(){ }else{ textarea.style.height = hgt; } - document.writeln(''); - document.writeln(''); + document.writeln(''); + document.writeln(''); } } -- cgit v1.2.3