hedera-web/forms/admin/visits/visits.js

26 lines
340 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 ()
{
2017-10-20 17:09:06 +00:00
if (!this.hash.$.to)
this.hash.assign ({
from: new Date (),
to: new Date ()
});
}
,onRefreshClick: function ()
{
2017-10-20 17:09:06 +00:00
this.$.visits.refresh ();
}
,onSessionsClick: function ()
{
2017-10-20 17:09:06 +00:00
this.hash.setAll ({form: 'admin/connections'});
}
});