[DE PE] Fix Bug 53345

This commit is contained in:
ShimaginAndrey 2021-10-26 14:34:02 +03:00
parent efa1e3929a
commit 1961715bf3
2 changed files with 46 additions and 42 deletions

View file

@ -165,9 +165,9 @@ class ContextMenu extends ContextMenuController {
Common.EditorApi.get().SplitCell(parseInt(size[0]), parseInt(size[1]));
}
}
]
}).open();
dialog.on('opened', () => {
],
on: {
open: () => {
picker = f7.picker.create({
containerEl: document.getElementById('picker-split-size'),
cols: [
@ -186,7 +186,9 @@ class ContextMenu extends ContextMenuController {
rotateEffect: true,
value: [3, 3]
});
});
}
}
}).open();
}
openLink(url) {

View file

@ -145,9 +145,9 @@ class ContextMenu extends ContextMenuController {
Common.EditorApi.get().SplitCell(parseInt(size[0]), parseInt(size[1]));
}
}
]
}).open();
dialog.on('opened', () => {
],
on: {
open: () => {
picker = f7.picker.create({
containerEl: document.getElementById('picker-split-size'),
cols: [
@ -166,7 +166,9 @@ class ContextMenu extends ContextMenuController {
rotateEffect: true,
value: [3, 3]
});
});
}
}
}).open();
}
openLink(url) {