revert last checkin

This commit is contained in:
Sebastian Mendel
2007-09-06 13:55:33 +00:00
parent a0934bdefd
commit c877be640a

View File

@@ -20,18 +20,8 @@ var query_to_load = '';
* *
* @param string db name * @param string db name
*/ */
function setDb(new_db, decode) { function setDb(new_db) {
//alert('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("&lt;", "<");
new_db = new_db.replace("&gt;", ">");
//alert(new_db);
}
if (new_db != db) { if (new_db != db) {
// db has changed // db has changed
//alert( new_db + '(' + new_db.length + ') : ' + db ); //alert( new_db + '(' + new_db.length + ') : ' + db );
@@ -360,9 +350,9 @@ function goTo(targeturl, target) {
} }
// opens selected db in main frame // opens selected db in main frame
function openDb(new_db, decode) { function openDb(new_db) {
//alert('opendb(' + new_db + ')'); //alert('opendb(' + new_db + ')');
setDb(new_db, decode); setDb(new_db);
setTable(''); setTable('');
refreshMain(opendb_url); refreshMain(opendb_url);
return true; return true;