diff --git a/js/export.js b/js/export.js index a16bd29221..f169004727 100644 --- a/js/export.js +++ b/js/export.js @@ -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); } }); });