Files
Projet/Mission4/roles/glpi/files/fusioninventory/lib/plusbutton.min.js
2022-02-11 15:48:06 +01:00

1 line
305 B
JavaScript

function plusbutton(e,n){if("undefined"!=typeof e&&("undefined"==typeof n&&(n=null),null!=n)){var t=$(n).find(".select2-container").css("width");$(n).find("select").select2("destroy"),$("#"+e).append($(n).clone().removeClass("template").css("display","block")),$("#"+e).find("select").select2({width:t})}}