Article.cdmMoveToId: don't crash if params is not given

This commit is contained in:
Andrew Dolgov 2020-05-09 19:41:11 +03:00
parent 2b55afbeec
commit 4a00d41915
1 changed files with 2 additions and 0 deletions

View File

@ -291,6 +291,8 @@ define(["dojo/_base/declare"], function (declare) {
dialog.show();
},
cdmMoveToId: function (id, params) {
params = params || {};
const force = params.force || true;
const event = params.event || null;
const noscroll = params.noscroll || false;