mirror of https://github.com/rancher/ui.git
23 lines
479 B
JavaScript
23 lines
479 B
JavaScript
import $ from 'jquery';
|
|
import { inject as controller } from '@ember/controller';
|
|
import Mixin from '@ember/object/mixin';
|
|
|
|
export default Mixin.create({
|
|
application : controller(),
|
|
queryParams : ['podId', 'kubernetes'],
|
|
instanceId : null,
|
|
model : null,
|
|
|
|
bootstrap: function() {
|
|
if (this.get('application.isPopup')) {
|
|
$('body').css('overflow', 'hidden');
|
|
}
|
|
}.on('init'),
|
|
|
|
actions: {
|
|
cancel: function() {
|
|
window.close();
|
|
}
|
|
}
|
|
});
|