mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 06:51:23 +08:00
[PE] Bug 67159: handle hyperlink settings for buttons
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user