forgot to set svn properties

This commit is contained in:
Sebastian Mendel
2007-10-08 06:47:57 +00:00
parent db1ee01a1e
commit bed8a4cc50

View File

@@ -1,37 +1,37 @@
function PMA_queryAutoCommit() function PMA_queryAutoCommit()
{ {
document.getElementById('sqlqueryform').target = window.opener.frame_content.name; document.getElementById('sqlqueryform').target = window.opener.frame_content.name;
document.getElementById('sqlqueryform').submit(); document.getElementById('sqlqueryform').submit();
return; return;
} }
function PMA_querywindowCommit(tab) function PMA_querywindowCommit(tab)
{ {
document.getElementById('hiddenqueryform').querydisplay_tab.value = tab; document.getElementById('hiddenqueryform').querydisplay_tab.value = tab;
document.getElementById('hiddenqueryform').submit(); document.getElementById('hiddenqueryform').submit();
return false; return false;
} }
function PMA_querywindowResize() function PMA_querywindowResize()
{ {
// for Gecko // for Gecko
if (typeof(self.sizeToContent) == 'function') { if (typeof(self.sizeToContent) == 'function') {
self.sizeToContent(); self.sizeToContent();
//self.scrollbars.visible = false; //self.scrollbars.visible = false;
// give some more space ... to prevent 'fli(pp/ck)ing' // give some more space ... to prevent 'fli(pp/ck)ing'
self.resizeBy(10, 50); self.resizeBy(10, 50);
return; return;
} }
// for IE, Opera // for IE, Opera
if (document.getElementById && typeof(document.getElementById('querywindowcontainer')) != 'undefined') { if (document.getElementById && typeof(document.getElementById('querywindowcontainer')) != 'undefined') {
// get content size // get content size
var newWidth = document.getElementById('querywindowcontainer').offsetWidth; var newWidth = document.getElementById('querywindowcontainer').offsetWidth;
var newHeight = document.getElementById('querywindowcontainer').offsetHeight; var newHeight = document.getElementById('querywindowcontainer').offsetHeight;
// set size to contentsize // set size to contentsize
// plus some offset for scrollbars, borders, statusbar, menus ... // plus some offset for scrollbars, borders, statusbar, menus ...
self.resizeTo(newWidth + 45, newHeight + 75); self.resizeTo(newWidth + 45, newHeight + 75);
} }
} }