Skip to content

Commit

Permalink
Modified initPresentationLayer method in presentation_layer.js - Fixe…
Browse files Browse the repository at this point in the history
…d a bug related to accept mode
  • Loading branch information
AlNedorezov committed Jul 26, 2017
1 parent f08c3db commit b9273d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions front/js/app/presentation_layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ function initPresentationLayer(acceptMode) {

let de = new DataEntity(polygon.polygonId);
de.parameters = polygonObject["parameters"];
polygons[polygon.polygonId] = polygon;
dc.addEntity(de, polygon.polygonId);
}
}
Expand Down
2 changes: 1 addition & 1 deletion front/main_local.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<div class="panel panel-default">
<div class="panel-body">
<div id="canvas-parent">
<div id="img_url" hidden>https://luxamazing.net/wp-content/uploads/2017/04/2017-10best-lead-photo-672628-s-original.jpg</div>
<div id="img_url" hidden>https://c1.staticflickr.com/8/7028/6486778721_a9a7974ee2_b.jpg</div>
<div id="json_params" hidden>
{
"classes":
Expand Down

0 comments on commit b9273d2

Please sign in to comment.