I have the following situation, In an ExtJS MVC Controller I have the following lines that makes a custom window visible:
this.control({
'grid_file button[action=change_settings]': {
click: this.open_settings
}
})
Further below:
open_settings: function() {
this.getView('browser.storage_settings').create().show();
},
I want to add a cancel button to make this window invisible, how would I do that without adding an id
? What would be the event listener and what would be the code inside the function?