From fdbe96eda8c842d505b34682de70ac6e6bf2fa2c Mon Sep 17 00:00:00 2001 From: Pavel Reznikov Date: Fri, 5 Dec 2014 20:34:22 -0800 Subject: [PATCH] update gridstack.js --- gridstack.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gridstack.js b/gridstack.js index f55f081..f9047e2 100644 --- a/gridstack.js +++ b/gridstack.js @@ -82,6 +82,8 @@ } else { _.each(this.nodes, function (n, i) { + if (n.locked) + return; while (n.y > 0) { var new_y = n.y - 1; var can_be_moved = i == 0;