mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 08:34:30 +00:00
(js) Fix usage of the "export" reserved word
This commit is contained in:
@@ -134,7 +134,7 @@
|
||||
</md-button>
|
||||
</md-menu-item>
|
||||
<md-menu-item>
|
||||
<md-button type="button" ng-click="folder.export()">
|
||||
<md-button type="button" ng-click="folder.exportFolder()">
|
||||
<var:string label:value="Export"/>
|
||||
</md-button>
|
||||
</md-menu-item>
|
||||
|
||||
@@ -546,12 +546,12 @@
|
||||
};
|
||||
|
||||
/**
|
||||
* @function export
|
||||
* @function exportFolder
|
||||
* @memberof Mailbox.prototype
|
||||
* @desc Export this mailbox
|
||||
* @returns a promise of the HTTP operation
|
||||
*/
|
||||
Mailbox.prototype.export = function() {
|
||||
Mailbox.prototype.exportFolder = function() {
|
||||
return Mailbox.$$resource.download(this.id, 'exportFolder');
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user