Skip to content
Snippets Groups Projects
Verified Commit feda01e8 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

DOC: add some code comments

parent b3b72bb3
Branches
Tags
2 merge requests!77REL: prepare release 0.8.0,!72bootstrap-select edit_mode
Pipeline #25190 passed
......@@ -772,6 +772,8 @@ var edit_mode = new function () {
header.children().remove();
const form = $('<form class="form-horizontal"></form>').append(inputs);
header.append(form);
// selectpicker is based on bootstrap-select and must be initializes
// AFTER it had been added to the dom tree.
$(form).find(".selectpicker").selectpicker();
edit_mode.add_parent_dropzone(entity);
......@@ -1302,6 +1304,8 @@ var edit_mode = new function () {
var inputs = edit_mode.create_value_inputs(property);
editfield.children().remove();
editfield.append(inputs);
// selectpicker is based on bootstrap-select and must be initializes
// AFTER it had been added to the dom tree.
$(editfield).find(".selectpicker").selectpicker();
// CHECKBOX `List [ ]`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment