Support for no javascript
This commit is contained in:
13
js/import.js
13
js/import.js
@@ -5,7 +5,6 @@
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
/**
|
||||
* Toggles the hiding and showing of each plugin's options
|
||||
@@ -50,7 +49,11 @@ $(document).ready(function() {
|
||||
changePluginOpts();
|
||||
}
|
||||
}
|
||||
$(document).ready(function() {
|
||||
// Initially display the options for the selected plugin
|
||||
changePluginOpts();
|
||||
|
||||
// Whenever the selected plugin changes, change the options displayed
|
||||
$("#plugins").change(function() {
|
||||
changePluginOpts();
|
||||
});
|
||||
@@ -75,4 +78,12 @@ $(document).ready(function() {
|
||||
$("#radio_local_import_file").attr('checked', 'checked');
|
||||
$("#radio_import_file").removeAttr('checked');
|
||||
});
|
||||
|
||||
/**
|
||||
* Set up the interface for Javascript-enabled browsers since the default is for
|
||||
* Javascript-disabled browsers
|
||||
*/
|
||||
$("#scroll_to_options_msg").hide();
|
||||
$(".format_specific_options").css({ "border": 0, "margin": 0, "padding": 0 });
|
||||
$(".format_specific_options h3").remove();
|
||||
});
|
Reference in New Issue
Block a user