Update index_m.html

This commit is contained in:
2018-09-25 15:17:44 +08:00
parent 6c3255df9a
commit a44cbd1cfd

View File

@@ -45,6 +45,20 @@
});
$('.btn_export').button({
icons: {primary: 'ui-icon-circle-minus'},
text: false
})
.attr('title', _('Export to CSV'))
.css({width: 24, height: 24})
.click(function () {
var id = $(this).data('table');
// build text
var text = getExport(data, id);
$('#export-dlg').show();
$('#export_textarea').val(text).trigger('select');
document.execCommand('copy');
});
//end zhongjin