forked from extern/egroupware
Fix resize portlet does not update grid size
This commit is contained in:
parent
c8bbf8b582
commit
fade72abc2
@ -265,8 +265,8 @@ app.home = AppJS.extend(
|
|||||||
.on("resizestop", function(event, ui) {
|
.on("resizestop", function(event, ui) {
|
||||||
$portlet_container.data("gridster").resize_widget(
|
$portlet_container.data("gridster").resize_widget(
|
||||||
ui.element,
|
ui.element,
|
||||||
Math.round(ui.size.width / this.GRID),
|
Math.round(ui.size.width / app.home.GRID),
|
||||||
Math.round(ui.size.height / this.GRID)
|
Math.round(ui.size.height / app.home.GRID)
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user