[DE] Bookmarks: change object for action link
This commit is contained in:
parent
9be0cbcc5b
commit
858cd7c53e
|
@ -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);
|
||||
|
|
|
@ -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')
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue