1 function PMA_queryAutoCommit()
3 document.getElementById('sqlqueryform').target = window.opener.frame_content.name;
4 document.getElementById('sqlqueryform').submit();
8 function PMA_querywindowCommit(tab)
10 $('#hiddenqueryform').find("input[name='querydisplay_tab']").attr("value" ,tab);
11 $('#hiddenqueryform').submit();
15 function PMA_querywindowSetFocus()
17 $('#sqlquery').focus();
20 function PMA_querywindowResize()
23 if (typeof($(this)[0].sizeToContent) == 'function') {
24 $(this)[0].sizeToContent();
25 //self.scrollbars.visible = false;
26 // give some more space ... to prevent 'fli(pp/ck)ing'
27 $(this)[0].resizeBy(10, 50);
32 if ($('#querywindowcontainer') != 'undefined') {
34 var newWidth = $("#querywindowcontainer")[0].offsetWidth;
35 var newHeight = $("#querywindowcontainer")[0].offsetHeight;
37 // set size to contentsize
38 // plus some offset for scrollbars, borders, statusbar, menus ...
39 $(this)[0].resizeTo(newWidth + 45, newHeight + 75);