forked from verdnatura/hedera-web
23 lines
312 B
JavaScript
Executable File
23 lines
312 B
JavaScript
Executable File
|
|
Vn.Visits = new Class
|
|
({
|
|
Extends: Vn.Form
|
|
|
|
,activate: function ()
|
|
{
|
|
this.$('from').value = new Date ();
|
|
this.$('to').value = new Date ();
|
|
}
|
|
|
|
,onRefreshClick: function ()
|
|
{
|
|
this.$('visits').refresh ();
|
|
}
|
|
|
|
,onSessionsClick: function ()
|
|
{
|
|
this.hash.set ({'form': 'admin/connections'});
|
|
}
|
|
});
|
|
|