mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-29 15:26:27 +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;
|
calloutElem.className = "callout callout-" + calloutType;
|
||||||
|
|
||||||
//Add title
|
//Add title
|
||||||
var calloutTitleElem = document.createElement("h4");
|
if(calloutTitle != ""){
|
||||||
calloutTitleElem.innerHTML = calloutTitle;
|
var calloutTitleElem = document.createElement("h4");
|
||||||
calloutElem.appendChild(calloutTitleElem)
|
calloutTitleElem.innerHTML = calloutTitle;
|
||||||
|
calloutElem.appendChild(calloutTitleElem)
|
||||||
|
}
|
||||||
|
|
||||||
//Add callout body
|
//Add callout body
|
||||||
var calloutBody = document.createElement("div");
|
var calloutBody = document.createElement("div");
|
||||||
|
Loading…
Reference in New Issue
Block a user