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

23 lines
320 B
JavaScript
Raw Normal View History

2016-09-26 09:28:47 +00:00
Hedera.Visits = new Class
({
2016-09-26 09:28:47 +00:00
Extends: Hedera.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'});
}
});