Hedera.Shelves = new Class ({ Extends: Hedera.Form ,activate: function () { var set = this.$('set'); set.set ('date', new Date ()); set.set ('useIds', false); } ,onConfigChange: function () { this.$('set').assign (this.$('config')); } ,onShowClick: function () { this.gui.openReport ('shelves-report', this.$('set').params); } });