revert last checkin
This commit is contained in:
@@ -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("<", "<");
|
|
||||||
new_db = new_db.replace(">", ">");
|
|
||||||
//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;
|
||||||
|
Reference in New Issue
Block a user