CC-5157: [Beta user reported]Linked Show: Multiple warnings after multiple check/uncheck action

Fixed. Also had to prepare the warning message for localization.
This commit is contained in:
denise 2013-05-17 14:47:34 -04:00
parent 2f6e2e7de6
commit 0f1a94532e
35 changed files with 2808 additions and 2739 deletions

View file

@ -188,8 +188,8 @@ function setAddShowEvents() {
});
form.find("#add_show_linked").click(function(){
if (!$(this).attr("checked")) {
$(this).parent().after("<ul class='errors'><li>Warning: Shows cannot be re-linked</li></ul>");
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>");
}
});