diff options
author | Michal Čihař <michal@cihar.com> | 2014-02-28 11:50:33 +0400 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2014-02-28 11:51:58 +0400 |
commit | 2bacdef4f46d24b65c6aca54f006aa2b7e5dcaa2 (patch) | |
tree | df51f32af4269954521673af34bae98e98261d6b /js/export.js | |
parent | d9eccfa988b708f5070acbdc354eaa00a152c529 (diff) |
Drop non js behavior of export chooser
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'js/export.js')
-rw-r--r-- | js/export.js | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/js/export.js b/js/export.js index 03dd329249..1b899ec2b8 100644 --- a/js/export.js +++ b/js/export.js @@ -229,7 +229,7 @@ function check_time_out(time_limit) 'check_time_out' : true }; clearTimeout(time_out); - time_out = setTimeout(function(){ + time_out = setTimeout(function(){ $.get(href, params, function (data) { if (data['message'] !== 'success') { PMA_ajaxShowMessage( @@ -241,19 +241,11 @@ function check_time_out(time_limit) } }); }, time_limit * 1000); - + } AJAX.registerOnload('export.js', function () { $("input[type='radio'][name='quick_or_custom']").change(toggle_quick_or_custom); - /** - * Sets up the interface for Javascript-enabled browsers since the default is for - * Javascript-disabled browsers - * TODO: drop non-JS behaviour - */ - if ($("input[type='hidden'][name='export_method']").val() != "custom-no-form") { - $("#quick_or_custom").show(); - } $("#scroll_to_options_msg").hide(); $("#format_specific_opts div.format_specific_options") .hide() |