summaryrefslogtreecommitdiff
path: root/htroot/js/IndexCreate.js
diff options
context:
space:
mode:
authorf1ori <f1ori@6c8d7289-2bf4-0310-a012-ef5d649a1542>2008-03-30 19:51:19 +0000
committerf1ori <f1ori@6c8d7289-2bf4-0310-a012-ef5d649a1542>2008-03-30 19:51:19 +0000
commit76eac114ed7a9171d07394983b06dbf85ec79a03 (patch)
tree1748940ede89bc28d7b1b65c3f1df3861fe5bc6e /htroot/js/IndexCreate.js
parentb63cf2fc1c3755f15b59a7f8167e46f3c6e22a1d (diff)
* define global javascript-variable with var to get rid of warnings
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4624 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/js/IndexCreate.js')
-rw-r--r--htroot/js/IndexCreate.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/htroot/js/IndexCreate.js b/htroot/js/IndexCreate.js
index 9e19dcaec..8769a4f79 100644
--- a/htroot/js/IndexCreate.js
+++ b/htroot/js/IndexCreate.js
@@ -1,6 +1,7 @@
-AJAX_OFF="/env/grafics/empty.gif";
-AJAX_ON="/env/grafics/ajax.gif";
-timeout="";
+var AJAX_OFF="/env/grafics/empty.gif";
+var AJAX_ON="/env/grafics/ajax.gif";
+var timeout="";
+
function handleResponse(){
if(http.readyState == 4){
var response = http.responseXML;