25 lines
459 B
JavaScript
Executable File
25 lines
459 B
JavaScript
Executable File
|
|
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 ();
|
|
}
|
|
});
|
|
|