Skip to content
Snippets Groups Projects
Commit 21fe55af authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Corrige pb date calendrier non clicable si cal ouvert par doubleclic

parent 635a4925
Branches
Tags
No related merge requests found
...@@ -67,13 +67,14 @@ function company_save_refresh() ...@@ -67,13 +67,14 @@ function company_save_refresh()
function showDP(base,dateFieldID,format) function showDP(base,dateFieldID,format)
{ {
showDP.datefieldID=dateFieldID;
var dateField=getObjectFromID(dateFieldID);
//check to see if another box is already showing //check to see if another box is already showing
var alreadybox=getObjectFromID("DPCancel"); var alreadybox=getObjectFromID("DPCancel");
if(alreadybox) closeDPBox(); if (alreadybox) closeDPBox(); // This erase value of showDP.datefieldID
//alert("showDP "+dateFieldID);
showDP.datefieldID=dateFieldID; // Must be after the close
var dateField=getObjectFromID(dateFieldID);
//get positioning //get positioning
var thetop=getTop(dateField)+dateField.offsetHeight; var thetop=getTop(dateField)+dateField.offsetHeight;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment