Mercurial > lada > lada-client
comparison app/view/proben/Import.js @ 357:94884cd8f8c0
Added logic to upload a file to the server.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 13 Aug 2013 16:21:08 +0200 |
parents | |
children | f9bb1ecf6462 |
comparison
equal
deleted
inserted
replaced
356:166203f7119d | 357:94884cd8f8c0 |
---|---|
1 /* | |
2 * Window to import a Probe | |
3 */ | |
4 Ext.define('Lada.view.proben.Import', { | |
5 extend: 'Ext.window.Window', | |
6 alias: 'widget.probenimport', | |
7 | |
8 title: 'Maske für §3-Proben Import', | |
9 autoShow: true, | |
10 autoScroll: true, | |
11 modal: true, | |
12 initComponent: function() { | |
13 this.buttons = [ | |
14 { | |
15 text: 'Speichern', | |
16 action: 'save', | |
17 }, | |
18 { | |
19 text: 'Abbrechen', | |
20 scope: this, | |
21 handler: this.close, | |
22 } | |
23 ]; | |
24 var form = Ext.create('Lada.view.proben.ImportForm'); | |
25 this.items = [form]; | |
26 this.callParent(); | |
27 } | |
28 }); |