Skip to content
Snippets Groups Projects
Commit 9f1e11ba authored by juanf's avatar juanf
Browse files

SSDM-1980 : Bugfix - New grid data model didn't update the box contents on the...

SSDM-1980 : Bugfix - New grid data model didn't update the box contents on the manager after first assignments

SVN: 34116
parent bc99cbc6
No related branches found
No related tags found
No related merge requests found
......@@ -144,8 +144,8 @@ function StorageView(storageController, storageModel, gridView) {
var samplesOfBox = _this._gridView._gridModel.getLabelDataByLabelName(_this._storageModel.row, _this._storageModel.column, _this._storageModel.boxName);
var selectedSamplePermIds = $(this).val();
var selectedSamples = [];
for(var i = 0; i < samplesOfBox.length; i++) {
var sample = samplesOfBox[i];
for(var i = 0; i < samplesOfBox.samples.length; i++) {
var sample = samplesOfBox.samples[i];
if($.inArray(sample.permId, selectedSamplePermIds) !== -1) {
selectedSamples.push(sample);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment