From 94870ed62df74ad6ac2a051115866833a9ca2249 Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Tue, 4 Jul 2006 12:41:37 +0000 Subject: [PATCH] bug #1477576 with rtl langs, navi links open in wrong frame - fixed --- js/querywindow.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/js/querywindow.js b/js/querywindow.js index ec73f6036..3d090b625 100644 --- a/js/querywindow.js +++ b/js/querywindow.js @@ -71,7 +71,7 @@ function refreshMain(url) { url = 'main.php'; } } - goTo( url + '?&server=' + server + + goTo( url + '?server=' + server + '&db=' + db + '&table=' + table + '&lang=' + lang + @@ -80,7 +80,7 @@ function refreshMain(url) { } function refreshNavigation() { - goTo('left.php?&server=' + server + + goTo('left.php?server=' + server + '&db=' + db + '&table=' + table + '&lang=' + lang + @@ -289,7 +289,7 @@ function refreshQuerywindow( url ) { * @param string targeturl new url to load * @param string target frame where to load the new url */ -function goTo( targeturl, target ) { +function goTo(targeturl, target) { //alert('goto'); if ( target == 'main' ) { target = window.frame_content; @@ -297,7 +297,7 @@ function goTo( targeturl, target ) { target = querywindow; //return open_querywindow( targeturl ); } else if ( ! target ) { - target = window.frame_content; + target = window.frame_navigation; } if ( target ) { @@ -318,11 +318,11 @@ function goTo( targeturl, target ) { } // opens selected db in main frame -function openDb( new_db ) { +function openDb(new_db) { //alert('opendb(' + new_db + ')'); - setDb( new_db ); - setTable( '' ); - refreshMain( opendb_url ); + setDb(new_db); + setTable(''); + refreshMain(opendb_url); return true; }