From 76eac114ed7a9171d07394983b06dbf85ec79a03 Mon Sep 17 00:00:00 2001 From: f1ori Date: Sun, 30 Mar 2008 19:51:19 +0000 Subject: [PATCH] * 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 --- htroot/js/Bookmarks.js | 6 +++--- htroot/js/IndexCreate.js | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/htroot/js/Bookmarks.js b/htroot/js/Bookmarks.js index 7a2292731..04656bcba 100644 --- a/htroot/js/Bookmarks.js +++ b/htroot/js/Bookmarks.js @@ -1,5 +1,5 @@ -AJAX_OFF="/env/grafics/empty.gif"; -AJAX_ON="/env/grafics/ajax.gif"; +var AJAX_OFF="/env/grafics/empty.gif"; +var AJAX_ON="/env/grafics/ajax.gif"; function handleResponse(){ if(http.readyState == 4){ @@ -145,4 +145,4 @@ function loadTitle(){ } } return result.join(" "); - } \ No newline at end of file + } 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;