[DE] Bookmarks: change object for action link

This commit is contained in:
Julia Radzhabova 2019-03-21 14:06:59 +03:00
parent 9be0cbcc5b
commit 858cd7c53e
2 changed files with 6 additions and 2 deletions

View file

@ -356,7 +356,7 @@ define([
this.permissions = $.extend(this.permissions, data.doc.permissions);
var _permissions = $.extend({}, data.doc.permissions),
_options = $.extend({}, data.doc.options, {actions: this.editorConfig.actionLink || {}});
_options = $.extend({}, data.doc.options, this.editorConfig.actionLink || {});
var _user = new Asc.asc_CUserInfo();
_user.put_Id(this.appOptions.user.id);

View file

@ -308,7 +308,11 @@ define([
getBookmarkLink: function() {
var rec = this.bookmarksList.getSelectedRec();
if (rec.length>0) {
Common.Gateway.requestMakeActionLink({action: "bookmark", data: rec[0].get('value')});
Common.Gateway.requestMakeActionLink({
action: {
type: "bookmark", data: rec[0].get('value')
}
});
}
},