23 lines
323 B
JavaScript
23 lines
323 B
JavaScript
|
|
Hedera.Visits = new Class
|
|
({
|
|
Extends: Hedera.Form
|
|
|
|
,activate: function ()
|
|
{
|
|
this.$('from').value = new Date ();
|
|
this.$('to').value = new Date ();
|
|
}
|
|
|
|
,onRefreshClick: function ()
|
|
{
|
|
this.$('visits').refresh ();
|
|
}
|
|
|
|
,onSessionsClick: function ()
|
|
{
|
|
this.hash.setAll ({'form': 'admin/connections'});
|
|
}
|
|
});
|
|
|