[PE] Bug 67159: handle hyperlink settings for buttons

This commit is contained in:
Julia Radzhabova
2024-05-08 16:15:51 +03:00
parent 5368797000
commit 13388b4d8b

View File

@ -1144,12 +1144,16 @@ define([
api: me.api,
appOptions: me.mode,
handler: handlerDlg,
type: isButton ? c_oHyperlinkType.InternalLink : undefined,
type: isButton===true ? c_oHyperlinkType.InternalLink : undefined,
slides: _arr
});
props = new Asc.CHyperlinkProperty();
props.put_Text(text);
if (isButton && (isButton instanceof Asc.CHyperlinkProperty))
props = isButton;
else {
props = new Asc.CHyperlinkProperty()
props.put_Text(text);
}
win.show();
win.setSettings(props);