CC-4886: Warn if track is part of a playlist when deleting from library.
-done
This commit is contained in:
parent
694c54f272
commit
043fbd1dfb
4 changed files with 78 additions and 4 deletions
|
@ -606,7 +606,7 @@ var AIRTIME = (function(AIRTIME) {
|
|||
return false;
|
||||
});
|
||||
|
||||
$(nRow).find(".track-future").qtip({
|
||||
$(nRow).find(".track-scheduled").qtip({
|
||||
content: {
|
||||
text: $.i18n._("This track is scheduled in the future")
|
||||
},
|
||||
|
@ -626,6 +626,46 @@ var AIRTIME = (function(AIRTIME) {
|
|||
at: "right center"
|
||||
},
|
||||
});
|
||||
$(nRow).find(".track-sched-pl-bl").qtip({
|
||||
content: {
|
||||
text: $.i18n._("This track is scheduled in the future and belongs to a playlist or smart block")
|
||||
},
|
||||
hide: {
|
||||
delay: 500,
|
||||
fixed: true
|
||||
},
|
||||
style: {
|
||||
border: {
|
||||
width: 0,
|
||||
radius: 4
|
||||
},
|
||||
classes: "ui-tooltip-dark ui-tooltip-rounded"
|
||||
},
|
||||
position: {
|
||||
my: "left bottom",
|
||||
at: "right center"
|
||||
},
|
||||
});
|
||||
$(nRow).find(".track-pl-bl").qtip({
|
||||
content: {
|
||||
text: $.i18n._("This track belongs to a playlist or smart block")
|
||||
},
|
||||
hide: {
|
||||
delay: 500,
|
||||
fixed: true
|
||||
},
|
||||
style: {
|
||||
border: {
|
||||
width: 0,
|
||||
radius: 4
|
||||
},
|
||||
classes: "ui-tooltip-dark ui-tooltip-rounded"
|
||||
},
|
||||
position: {
|
||||
my: "left bottom",
|
||||
at: "right center"
|
||||
},
|
||||
});
|
||||
|
||||
// add a tool tip to appear when the user clicks on the type
|
||||
// icon.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue