[DE] Change accept/reject review changes
This commit is contained in:
parent
0c56678ce1
commit
670742ab67
|
@ -550,7 +550,7 @@ define([
|
|||
if (item.value === 'all') {
|
||||
this.api.asc_AcceptAllChanges();
|
||||
} else {
|
||||
this.api.asc_AcceptChanges();
|
||||
this.api.asc_AcceptChangesBySelection();
|
||||
}
|
||||
} else {
|
||||
this.api.asc_AcceptChanges(menu);
|
||||
|
@ -565,7 +565,7 @@ define([
|
|||
if (item.value === 'all') {
|
||||
this.api.asc_RejectAllChanges();
|
||||
} else {
|
||||
this.api.asc_RejectChanges();
|
||||
this.api.asc_RejectChangesBySelection();
|
||||
}
|
||||
} else {
|
||||
this.api.asc_RejectChanges(menu);
|
||||
|
|
|
@ -1772,9 +1772,9 @@ define([
|
|||
onAcceptRejectChange: function(item, e) {
|
||||
if (this.api) {
|
||||
if (item.value == 'accept')
|
||||
this.api.asc_AcceptChanges();
|
||||
this.api.asc_AcceptChangesBySelection();
|
||||
else if (item.value == 'reject')
|
||||
this.api.asc_RejectChanges();
|
||||
this.api.asc_RejectChangesBySelection();
|
||||
}
|
||||
this.editComplete();
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue