Article.cdmMoveToId: don't crash if params is not given
This commit is contained in:
parent
2b55afbeec
commit
4a00d41915
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue