testPopup: function(id) {
var self = this;
self.addPopup = BX.PopupWindowManager.create(
"popup-test",
null,
{
closeIcon: {
opacity: 1
},
lightShadow : true,
closeByEsc : true,
content: 'test',
overlay: {
backgroundColor: 'black',
opacity: 500
},
buttons: [
new BX.PopupWindowButton({
text: 'Save',
id: 'save-btn',
className: 'ui-btn ui-btn-success',
events: {
click: function() {}
}
})
]
}
);
self.addPopup.show();
},