update gridstack.js

This commit is contained in:
Pavel Reznikov 2015-03-12 19:56:45 -07:00
commit 7efabdf1ab

View file

@ -359,6 +359,9 @@
};
GridStackEngine.prototype.end_update = function () {
_.each(this.nodes, function (n) {
n._orig_y = n.y;
});
var n = _.find(this.nodes, function (n) { return n._updating; });
if (n) {
n._updating = false;