Removed unused code.

Changed linked show warning message in the edit show form.
This commit is contained in:
drigato 2014-08-21 17:12:54 -04:00
parent 6249deb1ac
commit bc63669853
2 changed files with 1 additions and 35 deletions

View file

@ -277,7 +277,7 @@ function setAddShowEvents(form) {
//only display the warning message if a show is being edited
if ($(".button-bar.bottom").find(".ui-button-text").text() === "Update show") {
if ($(this).attr("checked") && $("#show-link-warning").length === 0) {
$(this).parent().after("<ul id='show-link-warning' class='errors'><li>"+$.i18n._("Warning: A copy of the schedule from the show clicked on to edit this show will get copied to every other show in the repeat series.")+"</li></ul>");
$(this).parent().after("<ul id='show-link-warning' class='errors'><li>"+$.i18n._("Warning: All other repetitions of this show will have their contents replaced to match the show you selected 'Edit Show' with.")+"</li></ul>");
}
if (!$(this).attr("checked") && $("#show-link-warning").length !== 0) {