Merge "Nested references should not trigger console warning"

This commit is contained in:
jenkins-bot 2020-07-24 22:50:43 +00:00 committed by Gerrit Code Review
commit 9a4abda6e8

View file

@ -35,7 +35,12 @@ module.exports = function () {
onShow: function () {
drawers.lockScroll();
},
onShowNestedReference: true,
onBeforeHide: drawers.discardDrawer
},
function ( oldDrawer, newDrawer ) {
oldDrawer.hide();
drawers.displayDrawer( newDrawer, {} );
}
).then( function ( drawer ) {
drawers.displayDrawer( drawer, {} );