0
1
Fork 0
hedera-web-mindshore/web/forms/admin/visits/visits.js

23 lines
312 B
JavaScript
Raw Normal View History

Vn.Visits = new Class
({
Extends: Vn.Form
,activate: function ()
{
2015-12-10 23:24:14 +00:00
this.$('from').value = new Date ();
this.$('to').value = new Date ();
}
,onRefreshClick: function ()
{
2015-12-10 23:24:14 +00:00
this.$('visits').refresh ();
}
,onSessionsClick: function ()
{
2015-12-10 23:24:14 +00:00
this.hash.set ({'form': 'admin/connections'});
}
});