Skip to content

Commit ada6073

Browse files
committed
Reset hiddenBySelect when there is no column to hide
1 parent 54b340a commit ada6073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,8 +537,8 @@ function modelSearch(str) {
537537

538538
function hideColumns(t) {
539539
var hide = $(t).children('option:selected').data('hide');
540+
$('#editview .content .hiddenBySelect').removeClass('hiddenBySelect');
540541
if (hide) {
541-
$('#editview .content .hiddenBySelect').removeClass('hiddenBySelect');
542542
hide.split(',').forEach(function(hide) {
543543
$('LABEL[for=input_' + hide + ']').addClass('hiddenBySelect');
544544
$('#input_' + hide).addClass('hiddenBySelect');

0 commit comments

Comments
 (0)