Skip to content

Commit

Permalink
style: get closer to pure JS script
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Sep 8, 2020
1 parent 1742dc3 commit ba54332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/scripts.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ function pluginFormcreatorInitializeField(fieldName, rand) {
*/
function pluginFormcreatorInitializeActor(fieldName, rand, initialValue) {
var field = $('select[name="' + fieldName + '[]"]');
dropdownMax = <?php echo $CFG_GLPI['dropdown_max'] ?>;
var dropdownMax = CFG_GLPI['dropdown_max'];
field.select2({
width: '80%',
minimumInputLength: 0,
Expand Down

0 comments on commit ba54332

Please sign in to comment.