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

19 lines
307 B
JavaScript
Raw Normal View History

2022-05-24 21:11:12 +00:00
Hedera.Visits = new Class({
2016-09-26 09:28:47 +00:00
Extends: Hedera.Form
2022-05-24 21:11:12 +00:00
,activate: function() {
this.$('from').value = new Date();
this.$('to').value = new Date();
}
2022-05-24 21:11:12 +00:00
,onRefreshClick: function() {
this.$('visits').refresh();
}
2022-05-24 21:11:12 +00:00
,onSessionsClick: function() {
this.hash.set({form: 'admin/connections'});
}
});