2015-01-23 13:09:30 +00:00
|
|
|
|
|
|
|
Vn.Users = new Class
|
|
|
|
({
|
2015-11-17 10:34:33 +00:00
|
|
|
Extends: Vn.Form
|
2015-01-23 13:09:30 +00:00
|
|
|
|
2015-03-27 19:10:49 +00:00
|
|
|
,onAccessLogClick: function (column, value)
|
2015-01-23 13:09:30 +00:00
|
|
|
{
|
|
|
|
this.hash.set ({
|
2015-02-01 03:21:54 +00:00
|
|
|
'form': 'admin/access-log'
|
2015-01-23 13:09:30 +00:00
|
|
|
,'user': value
|
|
|
|
});
|
|
|
|
}
|
2015-11-30 16:46:24 +00:00
|
|
|
|
|
|
|
,onChangeUserClick: function (button, form)
|
|
|
|
{
|
|
|
|
this.gui.supplantUser (form.get ('id'),
|
|
|
|
this.onUserSupplant.bind (this));
|
|
|
|
}
|
2015-01-23 13:09:30 +00:00
|
|
|
|
2015-11-30 16:46:24 +00:00
|
|
|
,onUserSupplant: function (userName)
|
2015-01-23 13:09:30 +00:00
|
|
|
{
|
2015-02-01 03:21:54 +00:00
|
|
|
this.hash.set ({'form': 'ecomerce/orders'});
|
2015-01-23 13:09:30 +00:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|