2015-01-23 13:09:30 +00:00
|
|
|
|
2016-09-26 09:28:47 +00:00
|
|
|
Hedera.Visits = new Class
|
2015-01-23 13:09:30 +00:00
|
|
|
({
|
2016-09-26 09:28:47 +00:00
|
|
|
Extends: Hedera.Form
|
2015-01-23 13:09:30 +00:00
|
|
|
|
|
|
|
,activate: function ()
|
|
|
|
{
|
2015-12-10 23:24:14 +00:00
|
|
|
this.$('from').value = new Date ();
|
|
|
|
this.$('to').value = new Date ();
|
2015-01-23 13:09:30 +00:00
|
|
|
}
|
|
|
|
|
2015-03-27 19:10:49 +00:00
|
|
|
,onRefreshClick: function ()
|
|
|
|
{
|
2015-12-10 23:24:14 +00:00
|
|
|
this.$('visits').refresh ();
|
2015-03-27 19:10:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
,onSessionsClick: function ()
|
2015-01-23 13:09:30 +00:00
|
|
|
{
|
2017-04-05 14:06:07 +00:00
|
|
|
this.hash.setAll ({'form': 'admin/connections'});
|
2015-01-23 13:09:30 +00:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|