Signed-off-by: Umair Khan <omerjerk@gmail.com>
This commit is contained in:
Umair Khan 2014-02-21 00:11:33 +05:30
parent f7f7e34f63
commit 7baa79c28c

View File

@ -185,9 +185,10 @@ AJAX.registerOnload('export.js', function () {
var active_plugin = $("#plugins option:selected").val();
var force_file = $("#force_file_" + active_plugin).val();
if (force_file == "true") {
$("#radio_dump_asfile").prop('checked', true);
$("#radio_view_as_text").prop('disabled', true).parent().fadeTo('fast', 0.4);
} else {
$("#radio_view_as_text").removeProp('disabled').parent().fadeTo('fast', 1);
$("#radio_view_as_text").prop('disabled', false).parent().fadeTo('fast', 1);
}
});
});