File: export_output.js

package info (click to toggle)
phpmyadmin 4%3A5.0.4%2Bdfsg2-2%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 104,412 kB
  • sloc: php: 152,799; javascript: 136,970; sql: 504; sh: 263; python: 200; makefile: 196; xml: 167
file content (9 lines) | stat: -rw-r--r-- 298 bytes parent folder | download
1
2
3
4
5
6
7
8
9
/* vim: set expandtab sw=4 ts=4 sts=4: */
AJAX.registerOnload('export_output.js', function () {
    $(document).on('keydown', function (e) {
        if ((e.which || e.keyCode) === 116) {
            e.preventDefault();
            $('#export_refresh_form').trigger('submit');
        }
    });
});