diff options
Diffstat (limited to 'hugo/js/querywindow.js')
| -rw-r--r-- | hugo/js/querywindow.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/hugo/js/querywindow.js b/hugo/js/querywindow.js new file mode 100644 index 0000000..d10069c --- /dev/null +++ b/hugo/js/querywindow.js @@ -0,0 +1,25 @@ +/* vim: set expandtab sw=4 ts=4 sts=4: */ +function PMA_queryAutoCommit() +{ + var sqlqueryform = document.getElementById('sqlqueryform'); + sqlqueryform.target = window.opener.frame_content.name; + sqlqueryform.submit(); + return; +} + +function PMA_querywindowCommit(tab) +{ + var $hiddenqueryform = $('#hiddenqueryform'); + $hiddenqueryform.find("input[name='querydisplay_tab']").val(tab); + $hiddenqueryform.addClass('disableAjax').submit(); + return false; +} + +function PMA_querywindowSetFocus() +{ + $('#sqlquery').focus(); +} + +$(function () { + $('#topmenucontainer').css('padding', 0); +}); |
