mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-26 10:58:49 +00:00
Callout messages do not have messages.
This commit is contained in:
parent
944df583a6
commit
612949a86a
@ -24,9 +24,11 @@ ComunicWeb.common.messages.createCalloutElem = function(calloutTitle, calloutMes
|
||||
calloutElem.className = "callout callout-" + calloutType;
|
||||
|
||||
//Add title
|
||||
var calloutTitleElem = document.createElement("h4");
|
||||
calloutTitleElem.innerHTML = calloutTitle;
|
||||
calloutElem.appendChild(calloutTitleElem)
|
||||
if(calloutTitle != ""){
|
||||
var calloutTitleElem = document.createElement("h4");
|
||||
calloutTitleElem.innerHTML = calloutTitle;
|
||||
calloutElem.appendChild(calloutTitleElem)
|
||||
}
|
||||
|
||||
//Add callout body
|
||||
var calloutBody = document.createElement("div");
|
||||
|
Loading…
Reference in New Issue
Block a user