summaryrefslogtreecommitdiff
path: root/links.js
blob: adedec47dae0176d48227df1c943126891b917d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
 * Function for updating browser frame and topbar frame so that sqledit window 
 * pops up with properly selected database.
 *
 * $Id: links.js,v 1.4 2004/07/13 15:24:41 jollytoad Exp $
 */
function updateLinks(getVars) {
	var topbarLink = 'topbar.php' + getVars;
	var browserLink = 'browser.php' + getVars;
	var detailLink = 'redirect.php' + getVars + 'section=database';
		
	parent.frames.topbar.location = topbarLink;
	parent.frames.detail.location = detailLink;
	parent.frames.browser.location = browserLink;
}