Commit 7d843673 authored by Raph El's avatar Raph El

Modif

parent 1be6f4f8
......@@ -3363,10 +3363,13 @@ var directory = {
params.imgProfil = "<i class='fa fa-image fa-2x'></i>";
params.imgMediumProfil = "<i class='fa fa-image fa-2x'></i>";
}
if("undefined" != typeof directory.custom
&& typeof directory.custom.results != "undefined"
&& typeof directory.custom.results[params.type] != "undefined"
&& typeof directory.custom.results[params.type].defaultImg != "undefined")
mylog.log("DIrectory ", directory.custom);
if( directory.custom != null &&
typeof directory.custom != "undefined" &&
typeof directory.custom.results != "undefined" &&
typeof directory.custom.results[params.type] != "undefined" &&
typeof directory.custom.results[params.type].defaultImg != "undefined")
params.imgMediumProfil= "<img class='img-responsive' onload='directory.checkImage(this);' src='"+parentModuleUrl+directory.custom.results[params.type].defaultImg+"'/>";
if("undefined" != typeof params.profilMediumImageUrl && params.profilMediumImageUrl != "")
......
......@@ -258,6 +258,7 @@ dynForm = {
$(".voteAnonymouscheckboxSimple").hide();
$(".voteCanChangecheckboxSimple").hide();
$(".producerfinder").hide();
$(".scopescope").hide();
},
adminOnly : function() {
......@@ -387,28 +388,6 @@ dynForm = {
"labelInformation": "<i class='fa fa-info-circle'></i> " + tradDynForm.allowChangeVote
}),
// infoScope : {
// inputType : "custom",
// html:"<br><i class='fa fa-angle-down fa-2x letter-red'></i><br>"+
// "<span style='font-size:13px;' class='bg-red badge'><i class='fa fa-bullseye'></i> "+
// tradDynForm.selectcitytosharesurvey+
// "</span>",
// },
// formLocality : dyFInputs.formLocality(tradDynForm.addLocality, tradDynForm.addLocality),
// location : dyFInputs.location,
// infoScope : {
// inputType : "custom",
// html:"<br><i class='fa fa-angle-down fa-2x letter-red'></i><br>"+
// "<span style='font-size:13px;' class='bg-red badge'><i class='fa fa-bullseye'></i> "+
// tradDynForm.selectcitytosharesurvey+
// "</span>",
// },
// location : {
// label : tradDynForm["Scoping"],
// inputType : "location"
// },
scope : dyFInputs.scope,
tags : dyFInputs.tags(),
urls : dyFInputs.urls,
......
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