Callout messages do not have messages.

This commit is contained in:
Pierre 2018-05-01 08:48:30 +02:00
parent 944df583a6
commit 612949a86a

View File

@ -24,9 +24,11 @@ ComunicWeb.common.messages.createCalloutElem = function(calloutTitle, calloutMes
calloutElem.className = "callout callout-" + calloutType;
//Add title
if(calloutTitle != ""){
var calloutTitleElem = document.createElement("h4");
calloutTitleElem.innerHTML = calloutTitle;
calloutElem.appendChild(calloutTitleElem)
}
//Add callout body
var calloutBody = document.createElement("div");