Message to view export on library page

This commit is contained in:
JonnyWong16 2020-08-04 10:56:36 -07:00
parent bde0ce20d8
commit 27f828e619
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -81,10 +81,13 @@ DOCUMENTATION :: END
async: true, async: true,
success: function (data) { success: function (data) {
if (data.result === 'success') { if (data.result === 'success') {
var msg = '';
if (typeof export_table !== 'undefined') { if (typeof export_table !== 'undefined') {
redrawExportTable(); redrawExportTable();
} else {
msg = '<br>View the export from the <a href="library?section_id=' + section_id +'#tab_tabs-export">library page</a>.'
} }
showMsg('<i class="fa fa-check"></i> ' + data.message, false, true, 5000); showMsg('<i class="fa fa-check"></i> ' + data.message + msg, false, true, 5000);
} else { } else {
showMsg('<i class="fa fa-exclamation-circle"></i> ' + data.message, false, true, 5000, true); showMsg('<i class="fa fa-exclamation-circle"></i> ' + data.message, false, true, 5000, true);
} }