Skip to content

Commit

Permalink
Fixes bug reported by MacKenzie where plate modal is not being popula…
Browse files Browse the repository at this point in the history
…ted after addPlateModal.js refactor (#537)
  • Loading branch information
AmandaBirmingham authored and wasade committed Jun 12, 2019
1 parent b6e9479 commit 3d85d70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion labcontrol/gui/static/js/addPlateModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ function setUpAddPlateModal(plateTypeList, getOnlyQuantified,
// contains just one entry--also with the key "data"
let plateListInfo = (data["data"]);
let tableSelectorStr = "#" + plateTableId;
let table = populatePlateTable(tableSelectorStr, plateListInfo);
let table = populatePlateTable(plateListInfo, tableSelectorStr,
specificAddPlateBtnBaseId);

let tbodySelector = $(tableSelectorStr + ' tbody');
// Remove any existing event handler already attached to plate add btns
Expand Down

0 comments on commit 3d85d70

Please sign in to comment.