Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
Fix bug in js for restoremailbox
Browse files Browse the repository at this point in the history
For this action it appears that the mailboxid is the itemid, and that's
the only additional argument required for the underlying method
`VBO::restoreMailbox()`.

This surfaced as a javascript error due to the variable being undefined.
  • Loading branch information
kevinquinnyo committed Aug 13, 2021
1 parent 93ed0f3 commit 91f0985
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion exchange.php
Original file line number Diff line number Diff line change
Expand Up @@ -1204,6 +1204,7 @@ function restoreToOriginal(itemid, type) {
itemid = node[0].data.folderid;
} else {
var act = 'restoremailbox';
var mailboxid = itemid;
}

var json = '{ "restoretoOriginallocation": \
Expand Down Expand Up @@ -1706,4 +1707,4 @@ function loadMessages(folderid, offset) {
}
?>
</body>
</html>
</html>

0 comments on commit 91f0985

Please sign in to comment.