"use strict"; /** * Licensed Materials - Property of IBM * IBM Cognos Products: admin * Copyright IBM Corp. 2015, 2018 * US Government Users Restricted Rights - Use, duplication or disclosure * restricted by GSA ADP Schedule Contract with IBM Corp. */ define(['bi/admin/common/slideout/BasePane', 'bi/admin/license/ui/LicenseByUserView'], function (BasePane, LicenseByUserView) { 'use strict'; //NOSONAR: meant to be strict var LicenseByUserPane = BasePane.extend({ init: function init(options) { LicenseByUserPane.inherited('init', this, arguments); $.extend(this, options); }, renderBody: function renderBody($body) { var $div = $('
'); $body.append($div); this.licByUserView = this._getNewLicenseByUserView({ 'el': $div, 'slideout': this.slideout, 'glassContext': this.glassContext, 'licenseInfo': this.licenseInfo, 'parentPane': this }); return this.licByUserView.render().then(function () { this.licByUserView.setFocus(); this.$el.addClass('lbu-parameters-container'); }.bind(this)); }, _getNewLicenseByUserView: function _getNewLicenseByUserView(options) { return new LicenseByUserView(options); } }); return LicenseByUserPane; });