hedera-web/web/forms/admin/users/users.js

26 lines
407 B
JavaScript
Raw Normal View History

Vn.Users = new Class
({
Extends: Vn.Form
2015-12-02 17:26:58 +00:00
,onAccessLogClick: function (button, form)
{
this.hash.set ({
2015-02-01 03:21:54 +00:00
'form': 'admin/access-log'
2015-12-02 17:26:58 +00:00
,'user': form.get ('id')
});
}
,onChangeUserClick: function (button, form)
{
this.gui.supplantUser (form.get ('id'),
this.onUserSupplant.bind (this));
}
,onUserSupplant: function (userName)
{
2015-02-01 03:21:54 +00:00
this.hash.set ({'form': 'ecomerce/orders'});
}
});