api2/access.rs: add ticket api
This commit is contained in:
@ -82,10 +82,20 @@ Ext.define('PBS.MainView', {
|
||||
|
||||
},
|
||||
|
||||
logout: function() {
|
||||
PBS.app.logout();
|
||||
},
|
||||
|
||||
navigate: function(treelist, item) {
|
||||
this.redirectTo(item.get('path'));
|
||||
},
|
||||
|
||||
control: {
|
||||
'button[reference=logoutButton]': {
|
||||
click: 'logout'
|
||||
}
|
||||
},
|
||||
|
||||
init: function(view) {
|
||||
var me = this;
|
||||
console.log("init");
|
||||
|
Reference in New Issue
Block a user