bugfix: advanced search

- datepicker not displayed in dialogs : because the datepicker had a lower z-index. It is now forced using the `beforeShow` datepicker's option so we do not force it globaly has if we had done this using the css

SVN:trunk[5711]
This commit is contained in:
Bruno Da Silva
2018-04-20 14:50:48 +00:00
parent ed3665b8c5
commit 487d89d970

View File

@@ -191,6 +191,11 @@ $(function()
showOn:'button',
changeMonth:true,
changeYear:true,
beforeShow: function() {
setTimeout(function(){
$('.ui-datepicker').css('z-index', 99999999999999);//this is a hack that let us do not force the datepicker z-index globally but only here. This is needed when we are in presence of a dialog because the dialog has a greater z-index than the datepicker
}, 0);
}
};
for (var i = 0; i < aInputsParamLength; i++) {
var oInputParam = aInputsParam[i];