[DE PE mobile] Fix bug 50773

This commit is contained in:
JuliaSvinareva 2021-06-28 15:52:28 +03:00
parent 1fb891a772
commit cc850adfcc
2 changed files with 46 additions and 42 deletions

View file

@ -56,9 +56,9 @@ class AddTableController extends Component {
api.put_Table(parseInt(size[0]), parseInt(size[1]), type.toString());
}
}
]
}).open();
dialog.on('opened', () => {
],
on: {
open: () => {
picker = f7.picker.create({
containerEl: document.getElementById('picker-table-size'),
cols: [
@ -77,7 +77,9 @@ class AddTableController extends Component {
rotateEffect: true,
value: [3, 3]
});
});
}
}
}).open();
}
render () {

View file

@ -64,9 +64,9 @@ class AddOtherController extends Component {
api.put_Table(parseInt(size[0]), parseInt(size[1]), undefined, type.toString());
}
}
]
}).open();
dialog.on('opened', () => {
],
on: {
open: () => {
picker = f7.picker.create({
containerEl: document.getElementById('picker-table-size'),
cols: [
@ -85,7 +85,9 @@ class AddOtherController extends Component {
rotateEffect: true,
value: [3, 3]
});
});
}
}
}).open();
}
hideAddComment () {