SAAS-906 - Change wording on Add to Show button
This commit is contained in:
parent
c79e4fb9ea
commit
ca9c805ce4
|
@ -10,7 +10,8 @@ var AIRTIME = (function(AIRTIME) {
|
|||
mod.checkAddButton = function() {
|
||||
var selected = mod.getChosenItemsLength(), $cursor = $('tr.sb-selected'), check = false,
|
||||
shows = $('tr.sb-header'), current = $('tr.sb-current-show'),
|
||||
cursorText = $.i18n._('Add to next show');
|
||||
// TODO: this is an ugly way of doing this... we should find a more robust way of checking which view we're in.
|
||||
cursorText = (window.location.href.toLowerCase().includes("schedule")) ? $.i18n._('Add to show') : $.i18n._('Add to next show');
|
||||
|
||||
// make sure library items are selected and a cursor is selected.
|
||||
if (selected !== 0) {
|
||||
|
|
Loading…
Reference in New Issue