From cd7bf9744de6fec1f2d327bf092fc79eb6213e05 Mon Sep 17 00:00:00 2001 From: lorilee Date: Mon, 5 Jul 2010 16:14:06 -0700 Subject: [PATCH] Support for no javascript --- js/export.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/js/export.js b/js/export.js index 0257f34bf..f34536a2c 100644 --- a/js/export.js +++ b/js/export.js @@ -172,3 +172,19 @@ $(document).ready(function() { } }); }); + +/** + * Sets up the interface for Javascript-enabled browsers since the default is for + * Javascript-disabled browsers + */ + $(document).ready(function() { + $("#quick_or_custom").show(); + $("#databases_and_tables").hide(); + $("#output_quick_export").show(); + $("#output").hide(); + $("#format_specific_opts").hide(); + $("#scroll_to_options_msg").hide(); + $(".format_specific_options").hide(); + $(".format_specific_options").css({ "border": 0, "margin": 0, "padding": 0}); + $(".format_specific_options h3").remove(); +}); \ No newline at end of file