From c877be640ad34673fba512bb5399b97014728dd7 Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Thu, 6 Sep 2007 13:55:33 +0000 Subject: [PATCH] revert last checkin --- js/querywindow.js | 40 +++++++++++++++------------------------- 1 file changed, 15 insertions(+), 25 deletions(-) diff --git a/js/querywindow.js b/js/querywindow.js index b3780ad36..cbc93119f 100644 --- a/js/querywindow.js +++ b/js/querywindow.js @@ -20,18 +20,8 @@ var query_to_load = ''; * * @param string db name */ -function setDb(new_db, decode) { +function setDb(new_db) { //alert('setDb(' + new_db + ')'); - - if (decode) { - //alert(new_db); - new_db = new_db.replace("&", "&"); - new_db = new_db.replace(""", '"'); - new_db = new_db.replace("'", "'"); - new_db = new_db.replace("<", "<"); - new_db = new_db.replace(">", ">"); - //alert(new_db); - } if (new_db != db) { // db has changed //alert( new_db + '(' + new_db.length + ') : ' + db ); @@ -83,15 +73,15 @@ function setTable(new_table) { /** * reloads mian frame * - * @uses goTo() - * @uses opendb_url - * @uses db - * @uses server - * @uses table - * @uses lang + * @uses goTo() + * @uses opendb_url + * @uses db + * @uses server + * @uses table + * @uses lang * @uses collation_connection * @uses encodeURIComponent() - * @param string url name of page to be loaded + * @param string url name of page to be loaded */ function refreshMain(url) { if (! url) { @@ -113,11 +103,11 @@ function refreshMain(url) { /** * reloads navigation frame * - * @uses goTo() - * @uses db - * @uses server - * @uses table - * @uses lang + * @uses goTo() + * @uses db + * @uses server + * @uses table + * @uses lang * @uses collation_connection * @uses encodeURIComponent() */ @@ -360,9 +350,9 @@ function goTo(targeturl, target) { } // opens selected db in main frame -function openDb(new_db, decode) { +function openDb(new_db) { //alert('opendb(' + new_db + ')'); - setDb(new_db, decode); + setDb(new_db); setTable(''); refreshMain(opendb_url); return true;