(js) Fix usage of the "export" reserved word

This commit is contained in:
Francis Lachapelle committed 2016-05-17 14:31:31 -04:00
1 parent 00e0aa7ab4
commit 8c4d4e0e2d
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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');
};