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

16 lines
232 B
JavaScript

import './style.scss';
export default new Class({
Extends: Hedera.Form,
Template: require('./ui.xml')
,activate: function() {
if (!this.hash.$.to)
this.hash.assign({
from: new Date(),
to: new Date()
});
}
});