[DE mobile] Changed editing/removing hyperlinks.

This commit is contained in:
Julia Radzhabova 2017-12-15 13:41:04 +03:00
parent 5321cff46a
commit 6c2c874fb2

View file

@ -129,6 +129,8 @@ define([
props.put_Value(url);
props.put_Text(_.isEmpty(display) ? url : display);
props.put_ToolTip(tip);
if (_linkObject)
props.put_InternalHyperlink(_linkObject.get_InternalHyperlink());
me.api.change_Hyperlink(props);
@ -136,7 +138,7 @@ define([
},
onRemoveLink: function () {
this.api && this.api.remove_Hyperlink();
this.api && this.api.remove_Hyperlink(_linkObject);
DE.getController('EditContainer').hideModal();
},