parent
d7c575994d
commit
e03f1b14e6
|
@ -2091,7 +2091,7 @@ async function buttonsCallback(args, text) {
|
||||||
popupContainer.innerHTML = safeValue;
|
popupContainer.innerHTML = safeValue;
|
||||||
popupContainer.appendChild(buttonContainer);
|
popupContainer.appendChild(buttonContainer);
|
||||||
|
|
||||||
popup = new Popup(popupContainer, POPUP_TYPE.TEXT, '', { okButton: 'Cancel' });
|
popup = new Popup(popupContainer, POPUP_TYPE.TEXT, '', { okButton: 'Cancel', allowVerticalScrolling: true });
|
||||||
popup.show()
|
popup.show()
|
||||||
.then((result => resolve(typeof result === 'number' ? resultToButtonMap.get(result) ?? '' : '')))
|
.then((result => resolve(typeof result === 'number' ? resultToButtonMap.get(result) ?? '' : '')))
|
||||||
.catch(() => resolve(''));
|
.catch(() => resolve(''));
|
||||||
|
|
Loading…
Reference in New Issue