mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
N°3469 - Fix variable declaration (let => var) 🤭
This commit is contained in:
@@ -109,7 +109,7 @@ var CombodoPortalToolbox = {
|
|||||||
|
|
||||||
// Force modal to have an HTML ID, otherwise it can lead to complications, especially with the portal_leave_handle.js
|
// Force modal to have an HTML ID, otherwise it can lead to complications, especially with the portal_leave_handle.js
|
||||||
// See N°3469
|
// See N°3469
|
||||||
let sModalID = (oOptions.id !== null) ? oOptions.id : 'modal-with-generated-id-'+Date.now();
|
var sModalID = (oOptions.id !== null) ? oOptions.id : 'modal-with-generated-id-'+Date.now();
|
||||||
oModalElem.attr('id', sModalID)
|
oModalElem.attr('id', sModalID)
|
||||||
.appendTo('body');
|
.appendTo('body');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user