From 0e28203ea9e5bdd61e083d9ac4737aebf13f9b38 Mon Sep 17 00:00:00 2001 From: David Kwak Date: Thu, 3 Apr 2014 11:32:39 -0700 Subject: [PATCH] fix add_widget to use correct size_y when adding rows --- src/jquery.gridster.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/jquery.gridster.js b/src/jquery.gridster.js index 95c4b6d0..87abde25 100644 --- a/src/jquery.gridster.js +++ b/src/jquery.gridster.js @@ -230,7 +230,9 @@ }else{ pos = { col: col, - row: row + row: row, + size_x: size_x, + size_y: size_y }; this.empty_cells(col, row, size_x, size_y);