forked from 0x2620/pandora
always reload on close of batch edit dialog if something has changed
This commit is contained in:
parent
3c73ef8999
commit
f71434a1ff
2 changed files with 12 additions and 6 deletions
|
@ -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({
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue