Automatic form submission on change.
This commit is contained in:
parent
51b54c954c
commit
84fda7ff95
@ -3112,12 +3112,19 @@ function PMA_createqTip($elements, content, options)
|
||||
$elements.qtip($.extend(true, o, options));
|
||||
}
|
||||
|
||||
/**
|
||||
* Theme selector.
|
||||
*/
|
||||
$(document).ready(function() {
|
||||
/**
|
||||
* Theme selector.
|
||||
*/
|
||||
$('a.themeselect').live('click',function(e) {
|
||||
window.open(e.target + '?foo=bar', 'themes','left=10,top=20,width=510,height=350,scrollbars=yes,status=yes,resizable=yes');
|
||||
return false;
|
||||
});
|
||||
|
||||
/**
|
||||
* Automatic form submission on change.
|
||||
*/
|
||||
$('select.autosubmit').change(function(e) {
|
||||
e.target.form.submit();
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user