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

SSDM-1724 : Plate View (ongoing work)

SVN: 33914
parent 155c9186
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,13 @@ function PlateController(sample) { ...@@ -23,6 +23,13 @@ function PlateController(sample) {
} }
this.initWithPlaceHolder = function() { 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 _this = this;
var repeatUntilSet = function() { var repeatUntilSet = function() {
var placeHolderFound = $("#" + _this._plateModel.getPlaceHolderId()); var placeHolderFound = $("#" + _this._plateModel.getPlaceHolderId());
......
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