Commit 4966df45 authored by Pierre Goubeaux's avatar Pierre Goubeaux

placeholder customise for scope

parent 42a96de0
......@@ -629,15 +629,18 @@ var searchObj = {
str+='</div></div>';
return str;
},
scope : function(){
scope : function(k,v){
mylog.log("fObj views scope");
placeholder = (typeof v.name != "undefined") ? v.name : "Où ?";
return '<div id="costum-scope-search"><div id="input-sec-search">'+
'<div class="input-group shadow-input-header">'+
'<span class="input-group-addon scope-search-trigger">'+
'<i class="fa fa-map-marker fa-fw" aria-hidden="true"></i>'+
'</span>'+
'<input type="text" class="form-control input-global-search" autocomplete="off"'+
' id="searchOnCity" placeholder="Où ?">'+
' id="searchOnCity" placeholder="'+placeholder+'">'+
'</div>'+
'<div class="dropdown-result-global-search col-xs-12 col-sm-5 col-md-5 col-lg-5 no-padding" '+
' style="display: none;">'+
......
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