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

26 lines
427 B
JavaScript

Hedera.Users = new Class
({
Extends: Hedera.Form
,repeaterFunc: function (res, form)
{
res.$('link').href = this.hash.make ({
'form': 'admin/access-log',
'user': form.get ('id')
});
}
,onChangeUserClick: function (button, form)
{
this.gui.supplantUser (form.get ('name'),
this.onUserSupplant.bind (this));
}
,onUserSupplant: function ()
{
this.hash.setAll ({'form': 'ecomerce/orders'});
}
});