Ensure that file format combo box value should not retained when hidden files checkbox is toggled. Fixes #3840

pull/20/head
Aditya Toshniwal 2019-01-21 16:22:59 +05:30 committed by Akshay Joshi
parent aedb3997b0
commit a9794d8ab4
2 changed files with 3 additions and 2 deletions

View File

@ -23,6 +23,7 @@ Bug fixes
| `Bug #3811 <https://redmine.postgresql.org/issues/3811>`_ - Ensure that Backup/Restore button should work on single click.
| `Bug #3837 <https://redmine.postgresql.org/issues/3837>`_ - Fixed SQL for when clause while creating Trigger.
| `Bug #3838 <https://redmine.postgresql.org/issues/3838>`_ - Proper SQL should be generated when creating/changing column with custom type argument.
| `Bug #3840 <https://redmine.postgresql.org/issues/3840>`_ - Ensure that file format combo box value should not retained when hidden files checkbox is toggled.
| `Bug #3846 <https://redmine.postgresql.org/issues/3846>`_ - Proper SQL should be generated when create procedure with custom type arguments.
| `Bug #3891 <https://redmine.postgresql.org/issues/3891>`_ - Correct order of Save and Cancel button for json/jsonb editing.
| `Bug #3897 <https://redmine.postgresql.org/issues/3897>`_ - Data should be updated properly for FTS Configurations, FTS Dictionaries, FTS Parsers and FTS Templates.

View File

@ -1176,11 +1176,11 @@ define([
};
if (cb.checked) {
$('div.allowed_file_types select').val('*').trigger('change');
$('div.allowed_file_types select').trigger('change');
data['is_checked'] = true;
} else {
// User wants to hide it again
$('div.allowed_file_types select').prop('selectedIndex', 0).trigger('change');
$('div.allowed_file_types select').trigger('change');
data['is_checked'] = false;
}
// Save it in preference