diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/StorageListView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/StorageListView.js index f3e52b439997cdc9795131f393fc42ca4d232a9a..35602e94ee3fe4d69e167bf6c4959f83c7362427 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/StorageListView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/StorageListView.js @@ -187,7 +187,9 @@ function StorageListView(storageListController, storageListModel) { 'height' : '90%' }; - var container = "<div class='row col-md-12 form-horizontal' id='storage-pop-up-container'></div><br><a class='btn btn-default' id='storage-accept'>Accept</a> <a class='btn btn-default' id='storage-cancel'>Cancel</a>" + var container = "<div class='row col-md-12 form-horizontal' id='storage-pop-up-container'></div>"; + var containerButtons = "<a class='btn btn-default' id='storage-accept'>Accept</a> <a class='btn btn-default' id='storage-cancel'>Cancel</a>"; + Util.blockUI(container, css); @@ -211,8 +213,11 @@ function StorageListView(storageListController, storageListModel) { storageController.getModel().storagePropertyGroup = storagePropGroup; this._storageListController._saveState(storagePropGroup); storageController.bindSample(this._storageListModel.sample, this._storageListModel.isDisabled); - storageController.getView().repaint($("#storage-pop-up-container")); + var storageContainer = $("#storage-pop-up-container"); + storageController.getView().repaint(storageContainer); + + storageContainer.append(containerButtons); $("#storage-accept").on("click", function(event) { storageController.isValid(function(isValid) { if(isValid) {