From fade72abc233998d8f1ae784c44623b79a4359f6 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 10 Jun 2013 15:05:21 +0000 Subject: [PATCH] Fix resize portlet does not update grid size --- home/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/js/app.js b/home/js/app.js index a3d2c3af63..525cc22b86 100644 --- a/home/js/app.js +++ b/home/js/app.js @@ -265,8 +265,8 @@ app.home = AppJS.extend( .on("resizestop", function(event, ui) { $portlet_container.data("gridster").resize_widget( ui.element, - Math.round(ui.size.width / this.GRID), - Math.round(ui.size.height / this.GRID) + Math.round(ui.size.width / app.home.GRID), + Math.round(ui.size.height / app.home.GRID) ); }); },