Update index_m.html
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user