diff --git a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/PlateController.js b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/PlateController.js index dfe675427d277d54b679d69a2db20bc8db541dde..84e40b25e88dbaf28313f3daf3f64725cb80e3f2 100644 --- a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/PlateController.js +++ b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/SampleForm/widgets/PlateController.js @@ -23,6 +23,13 @@ function PlateController(sample) { } this.initWithPlaceHolder = function() { + //Delete old view for redraws - Corner Case + var oldPlaceHolderFound = $("#" + this._plateModel.getPlaceHolderId()); + if(oldPlaceHolderFound.length !== 0) { + oldPlaceHolderFound.remove(); + } + + //Normal case var _this = this; var repeatUntilSet = function() { var placeHolderFound = $("#" + _this._plateModel.getPlaceHolderId());