summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchriskl2003-12-15 08:14:10 +0000
committerchriskl2003-12-15 08:14:10 +0000
commit0ffa5171a020e4b4473e1f5f6b482d2d65a2056a (patch)
tree70fee1e47f9906769665820fee851078b2be3085
parent5c141f93d2f903f8ccf5d5742abe8ada64e2cae4 (diff)
make clicking on a database update the detail view as well
-rw-r--r--links.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/links.js b/links.js
index cc7c3537..e7d4d2f0 100644
--- a/links.js
+++ b/links.js
@@ -2,13 +2,15 @@
* Function for updating browser frame and topbar frame so that sqledit window
* pops up with properly selected database.
*
- * $Id: links.js,v 1.1 2003/12/15 07:59:22 chriskl Exp $
+ * $Id: links.js,v 1.2 2003/12/15 08:14:10 chriskl Exp $
*/
function updateLinks(getVars) {
- var topbarLink = 'topbar.php' + getVars
- var browserLink = 'browser.php' + getVars
+ var topbarLink = 'topbar.php' + getVars;
+ var browserLink = 'browser.php' + getVars;
+ var detailLink = 'database.php' + getVars;
parent.frames.topbar.location = topbarLink;
parent.frames.browser.location = browserLink;
+ parent.frames.detail.location = detailLink;
}