mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 01:02:59 -07:00
Message to view export on library page
This commit is contained in:
parent
bde0ce20d8
commit
27f828e619
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue