diff --git a/app/coffee/modules/common/confirm.coffee b/app/coffee/modules/common/confirm.coffee index 6f48616d..3c97759b 100644 --- a/app/coffee/modules/common/confirm.coffee +++ b/app/coffee/modules/common/confirm.coffee @@ -59,11 +59,11 @@ class ConfirmService extends taiga.Service el = angular.element(lightboxSelector) # Render content - el.find(".title").text(title) if title - el.find(".subtitle").text(subtitle) if subtitle + el.find(".title").text(title || '') + el.find(".subtitle").text(subtitle || '') if message message = @filter('textToHTML')(message) - el.find(".message").html(message) + el.find(".message").html(message || '') # Assign event handlers el.on "click.confirm-dialog", ".button-green", debounce 2000, (event) =>