stop propagation of events so nested grids don't affect parents
This commit is contained in:
parent
4a80e41811
commit
69d2df188d
1 changed files with 3 additions and 0 deletions
|
|
@ -641,6 +641,7 @@
|
|||
}
|
||||
self.grid.move_node(node, x, y, width, height);
|
||||
self._update_container_height();
|
||||
event.stopPropagation();
|
||||
};
|
||||
|
||||
var on_start_moving = function(event, ui) {
|
||||
|
|
@ -660,6 +661,7 @@
|
|||
|
||||
el.resizable('option', 'minWidth', cell_width * (node.min_width || 1));
|
||||
el.resizable('option', 'minHeight', self.opts.cell_height * (node.min_height || 1));
|
||||
event.stopPropagation();
|
||||
};
|
||||
|
||||
var on_end_moving = function(event, ui) {
|
||||
|
|
@ -677,6 +679,7 @@
|
|||
self._trigger_change_event();
|
||||
|
||||
self.grid.end_update();
|
||||
event.stopPropagation();
|
||||
};
|
||||
|
||||
el
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue