Commit a183cf85 authored by Raph El's avatar Raph El

Hotfix about descriptn

parent ca8e3b7f
......@@ -447,17 +447,19 @@
});
function inintDescs() {
mylog.log("inintDescs");
if(canEdit == true || openEdition== true)
descHtmlToMarkdown();
mylog.log("after");
mylog.log("inintDescs", $("#descriptionAbout").html());
var descHtml = "<i>"+trad.notSpecified+"</i>";
if($("#descriptionAbout").html().length > 0){
descHtml = dataHelper.markdownToHtml($("#descriptionAbout").html()) ;
if($("#descriptionAbout").length > 0){
if(canEdit == true || openEdition== true)
descHtmlToMarkdown();
mylog.log("after");
mylog.log("inintDescs", $("#descriptionAbout").html());
var descHtml = "<i>"+trad.notSpecified+"</i>";
if($("#descriptionAbout").html().length > 0){
descHtml = dataHelper.markdownToHtml($("#descriptionAbout").html()) ;
}
$("#descriptionAbout").html(descHtml);
//$("#descProfilsocial").html(descHtml);
mylog.log("descHtml", descHtml);
}
$("#descriptionAbout").html(descHtml);
//$("#descProfilsocial").html(descHtml);
mylog.log("descHtml", descHtml);
}
function initDate() {//DD/mm/YYYY hh:mm
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment