charset as windows-1252 when format is MS Excel
Signed-off-by: Kartik Kathuria <kathuriakartik0@gmail.com>
This commit is contained in:
parent
4c93203904
commit
bccf73d6ed
11
js/export.js
11
js/export.js
@ -307,6 +307,17 @@ AJAX.registerOnload('export.js', function () {
|
||||
$('#checkbox_sql_auto_increment').prop('disabled', false).parent().fadeTo('fast', 1);
|
||||
}
|
||||
});
|
||||
|
||||
// When MS Excel is selected as the Format automatically Switch to Character Set as windows-1252
|
||||
$('#plugins').change(function () {
|
||||
var selected_plugin_name = $('#plugins').find('option:selected').val();
|
||||
if(selected_plugin_name == "excel"){
|
||||
$('#select_charset').val('windows-1252');
|
||||
}
|
||||
else{
|
||||
$('#select_charset').val('utf-8');
|
||||
}
|
||||
});
|
||||
|
||||
// For separate-file exports only ZIP compression is allowed
|
||||
$('input[type="checkbox"][name="as_separate_files"]').on('change', function () {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user