fix csv download bug

This commit is contained in:
Gabriel Bazán 2015-12-11 13:44:55 -03:00
parent b7564bdca1
commit 452252ad30
1 changed files with 7 additions and 3 deletions

View File

@ -6,9 +6,13 @@
<div class="content preferences" ng-controller="preferencesHistory as history">
<h4></h4>
<ul class="no-bullet m0">
<li ng-style="{'color':index.backgroundColor}" ng-show="!index.isCordova" id="export_file" type="file"
nwsaveas="Copay-{{index.alias || index.walletName}}.csv" accept=".csv" ng-click="index.csvHistory();" translate>
Export to file
<li>
<div ng-show="!index.isCordova">
<input id="export_file" type="file" nwsaveas="Copay-{{index.alias || index.walletName}}.csv" accept=".csv" style="display:none">
<a ng-style="{'color':index.backgroundColor}" ng-click="index.csvHistory();">
<span translate>Export to file</span>
</a>
</div>
</li>
<li ng-style="{'color':index.backgroundColor}" ng-click="history.clearTransactionHistory();" translate>
Clear cache