gm.editableAreaFilter calls for every inctances of gridmanager
ypavlov opened this issue · 2 comments
ypavlov commented
I have 2 gridmanagers on same page, and gm.editableAreaFilter clear code for both instances when user clicks preview button.
This code works globally
$('.'+gm.options.controlNestedEditable, canvasElem).remove();
$('.'+gm.options.gmContentRegion).contents().unwrap();
neokoenig commented
What happens when you set up the instances like this?
http://neokoenig.github.io/jQuery-gridmanager/demo/multiple.html
ypavlov commented
I've created 3 instances (just for test, I'm not need 3 gridmanagers on same page) and it adds duplicated buttons to each next instance