2015-09-22 07:20:47 +00:00
|
|
|
|
2016-09-26 09:28:47 +00:00
|
|
|
Hedera.Shelves = new Class
|
2015-09-22 07:20:47 +00:00
|
|
|
({
|
2016-09-26 09:28:47 +00:00
|
|
|
Extends: Hedera.Form
|
2016-10-04 15:27:49 +00:00
|
|
|
|
2015-09-22 07:20:47 +00:00
|
|
|
,activate: function ()
|
|
|
|
{
|
2017-03-30 11:44:53 +00:00
|
|
|
var set = this.$('set');
|
|
|
|
set.set ('date', new Date ());
|
|
|
|
set.set ('useIds', false);
|
2015-10-23 23:23:19 +00:00
|
|
|
}
|
2016-10-04 15:27:49 +00:00
|
|
|
|
2015-11-05 07:30:19 +00:00
|
|
|
,onConfigChange: function ()
|
2015-10-23 23:23:19 +00:00
|
|
|
{
|
2017-03-30 11:44:53 +00:00
|
|
|
this.$('set').assign (this.$('config'));
|
2015-09-22 07:20:47 +00:00
|
|
|
}
|
|
|
|
|
2017-03-30 11:44:53 +00:00
|
|
|
,onShowClick: function ()
|
|
|
|
{
|
|
|
|
this.gui.openReport ('shelves-report', this.$('set').params);
|
2015-10-21 23:42:52 +00:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|