Commit 0fc9433c authored by ramiandrison gova's avatar ramiandrison gova
Browse files

up filters

parent dca40325
......@@ -825,13 +825,15 @@ var searchObj = {
dropdownList : function(k,v, fObj){
mylog.log("searchObj.views.selectList", k,v);
var labelStr=(typeof v.name != "undefined") ? v.name: "Ajouter un filtre";
var classButton= (typeof v.classList != "undefined") ? v.classList : "col-xs-12";
var classContainer= (typeof v.classDom != "undefined") ? v.classDom : "";
var str='<li class="dropdown">'+
'<a href="javascript:;" class="dropdown-toggle menu-button btn-menu" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" data-label-xs="types" data-toggle="tooltip" data-placement="bottom">'+
labelStr+' <i class="fa fa-angle-down margin-left-5"></i>'+
'</a>'+
'<div class="dropdown-menu arrow_box" style="overflow-y: auto;" aria-labelledby="dropdownTypes">'+
'<div class="dropdown-menu arrow_box '+classContainer+'" style="overflow-y: auto;" aria-labelledby="dropdownTypes">'+
'<div class="list-filters">'+
fObj.filters.views.buttonList(k, v, "col-xs-12", fObj)+
fObj.filters.views.buttonList(k, v, classButton, fObj)+
'</div>'+
'</div>'+
'</li>';
......@@ -873,7 +875,7 @@ var searchObj = {
'</a>'+
'<div class="dropdown-menu arrow_box" style="overflow-y: auto;" aria-labelledby="dropdownTypes">'+
'<div class="list-filters">'+
fObj.filters.views.buttonList(k, v, "col-xs-12", fObj)+
fObj.filters.views.buttonList(k, v, "col-xs-4 ", fObj)+
'</div>'+
'</div>'+
'</li>';
......
Supports Markdown
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