mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fixed issue where existing widget position would be overwritten on gridmap when adding a faux cell to accommodate another widget.
This commit is contained in:
5
dist/jquery.gridster.js
vendored
5
dist/jquery.gridster.js
vendored
@ -3689,7 +3689,10 @@
|
||||
this.gridmap[col] = [];
|
||||
}
|
||||
|
||||
this.gridmap[col][row] = false;
|
||||
if( typeof this.gridmap[col][row] === undefined ){
|
||||
this.gridmap[col][row] = false;
|
||||
}
|
||||
|
||||
this.faux_grid.push(coords);
|
||||
|
||||
return this;
|
||||
|
Reference in New Issue
Block a user