Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2014-02-28 11:50:33 +0400
committerMichal Čihař <michal@cihar.com>2014-02-28 11:51:58 +0400
commit2bacdef4f46d24b65c6aca54f006aa2b7e5dcaa2 (patch)
treedf51f32af4269954521673af34bae98e98261d6b /js/export.js
parentd9eccfa988b708f5070acbdc354eaa00a152c529 (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.js12
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()