forked from verdnatura/hedera-web
26 lines
407 B
JavaScript
Executable File
26 lines
407 B
JavaScript
Executable File
|
|
Vn.Users = new Class
|
|
({
|
|
Extends: Vn.Form
|
|
|
|
,onAccessLogClick: function (button, form)
|
|
{
|
|
this.hash.set ({
|
|
'form': 'admin/access-log'
|
|
,'user': form.get ('id')
|
|
});
|
|
}
|
|
|
|
,onChangeUserClick: function (button, form)
|
|
{
|
|
this.gui.supplantUser (form.get ('id'),
|
|
this.onUserSupplant.bind (this));
|
|
}
|
|
|
|
,onUserSupplant: function (userName)
|
|
{
|
|
this.hash.set ({'form': 'ecomerce/orders'});
|
|
}
|
|
});
|
|
|