1
0
Fork 0
oldhaven/php/pgadmin/links.js

17 lines
520 B
JavaScript
Raw Normal View History

2011-03-29 17:51:22 +00:00
/**
* 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;
}