CC-5638: Shows become unlinked when moving the end time back
Disabled linked checkbox field in show form while the show is playing Added a warning message if the user attempts to change this value Update .po and .mo files with the warning message string
This commit is contained in:
parent
e8a8aeaf00
commit
d841f11de3
36 changed files with 43746 additions and 43918 deletions
|
@ -264,6 +264,13 @@ function setAddShowEvents(form) {
|
|||
});
|
||||
|
||||
form.find("#add_show_linked").click(function(){
|
||||
if ($(this).attr("readonly")) {
|
||||
if ($("#show-link-readonly-warning").length === 0) {
|
||||
$(this).parent().after("<ul id='show-link-readonly-warning' class='errors'><li>"+$.i18n._("Warning: You cannot change this field while the show is currently playing")+"</li></ul>");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!$(this).attr("checked") && $("#show-link-warning").length === 0) {
|
||||
$(this).parent().after("<ul id='show-link-warning' class='errors'><li>"+$.i18n._("Warning: Shows cannot be re-linked")+"</li></ul>");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue