[DE] Move to next change after accept/reject from toolbar
This commit is contained in:
parent
670742ab67
commit
a3527da443
|
@ -550,7 +550,7 @@ define([
|
||||||
if (item.value === 'all') {
|
if (item.value === 'all') {
|
||||||
this.api.asc_AcceptAllChanges();
|
this.api.asc_AcceptAllChanges();
|
||||||
} else {
|
} else {
|
||||||
this.api.asc_AcceptChangesBySelection();
|
this.api.asc_AcceptChangesBySelection(true); // accept and move to the next change
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.api.asc_AcceptChanges(menu);
|
this.api.asc_AcceptChanges(menu);
|
||||||
|
@ -565,7 +565,7 @@ define([
|
||||||
if (item.value === 'all') {
|
if (item.value === 'all') {
|
||||||
this.api.asc_RejectAllChanges();
|
this.api.asc_RejectAllChanges();
|
||||||
} else {
|
} else {
|
||||||
this.api.asc_RejectChangesBySelection();
|
this.api.asc_RejectChangesBySelection(true); // reject and move to the next change
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.api.asc_RejectChanges(menu);
|
this.api.asc_RejectChanges(menu);
|
||||||
|
|
|
@ -1772,9 +1772,9 @@ define([
|
||||||
onAcceptRejectChange: function(item, e) {
|
onAcceptRejectChange: function(item, e) {
|
||||||
if (this.api) {
|
if (this.api) {
|
||||||
if (item.value == 'accept')
|
if (item.value == 'accept')
|
||||||
this.api.asc_AcceptChangesBySelection();
|
this.api.asc_AcceptChangesBySelection(false);
|
||||||
else if (item.value == 'reject')
|
else if (item.value == 'reject')
|
||||||
this.api.asc_RejectChangesBySelection();
|
this.api.asc_RejectChangesBySelection(false);
|
||||||
}
|
}
|
||||||
this.editComplete();
|
this.editComplete();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue