devilbox/.devilbox/www/htdocs/vendor/phpmyadmin-4.0/js/querywindow.js

26 lines
609 B
JavaScript

/* 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);
});