always reload on close of batch edit dialog if something has changed

This commit is contained in:
j 2023-06-22 14:48:59 +05:30
parent 3c73ef8999
commit f71434a1ff
2 changed files with 12 additions and 6 deletions

View file

@ -31,9 +31,6 @@ pandora.ui.editDialog = function() {
})
.bindEvent({
click: function() {
if (!ui.updateResults && hasChanged) {
pandora.$ui.list.reloadList()
}
that.close();
}
})
@ -48,6 +45,12 @@ pandora.ui.editDialog = function() {
)
]),
width: 768
}).bindEvent({
close: function() {
if (!ui.updateResults && hasChanged) {
pandora.$ui.list.reloadList()
}
}
}),
$updateCheckbox = Ox.Checkbox({

View file

@ -30,9 +30,6 @@ pandora.ui.editDocumentsDialog = function() {
})
.bindEvent({
click: function() {
if (!ui.updateResults && hasChanged) {
pandora.$ui.list.reloadList()
}
that.close();
}
})
@ -47,6 +44,12 @@ pandora.ui.editDocumentsDialog = function() {
)
]),
width: 768
}).bindEvent({
close: function() {
if (!ui.updateResults && hasChanged) {
pandora.$ui.list.reloadList()
}
}
}),
$updateCheckbox = Ox.Checkbox({