Skip to content
Snippets Groups Projects
Commit 2ee6199c authored by Piotr Gawron's avatar Piotr Gawron
Browse files

force map model id to be integer

parent a40b1e51
No related branches found
No related tags found
1 merge request!5Frontend refactor
......@@ -357,7 +357,7 @@ MapModel.prototype.getId = function() {
};
MapModel.prototype.setId = function(id) {
this.id = id;
this.id = parseInt(id);
};
MapModel.prototype.getWidth = function() {
......
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