25 lines
459 B
JavaScript
25 lines
459 B
JavaScript
|
|
||
|
Vn.Shelves = new Class
|
||
|
({
|
||
|
Extends: Vn.Module
|
||
|
|
||
|
,activate: function ()
|
||
|
{
|
||
|
this.$('report-title').value = 'Anthuriums';
|
||
|
this.$('warehouse').value = 1;
|
||
|
this.$('date').value = new Date ();
|
||
|
this.$('shelf').value = 1;
|
||
|
this.$('reign').value = 1;
|
||
|
this.$('family').value = 2;
|
||
|
this.$('filter').value = 'Ant %';
|
||
|
this.$('max-amount').value = 50;
|
||
|
}
|
||
|
|
||
|
,onPreviewClick: function ()
|
||
|
{
|
||
|
var report = new ShelvesReport ();
|
||
|
report.showWindow ();
|
||
|
}
|
||
|
});
|
||
|
|