Mercurial > lada > lada-client
comparison app/view/proben/Edit.js @ 514:61c76c12bd28
Removed save and cancel buttons from proben edit window.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 16 Dec 2014 13:20:33 +0100 |
parents | 8818becb8cde |
children |
comparison
equal
deleted
inserted
replaced
513:6de00657cd87 | 514:61c76c12bd28 |
---|---|
25 | 25 |
26 initComponent: function() { | 26 initComponent: function() { |
27 var probe = Ext.StoreManager.get('ProbenList').getById(this.modelId); | 27 var probe = Ext.StoreManager.get('ProbenList').getById(this.modelId); |
28 this.title = '§3-Probe ' + probe.get('probeIdAlt'); | 28 this.title = '§3-Probe ' + probe.get('probeIdAlt'); |
29 this.buttons = [{ | 29 this.buttons = [{ |
30 text: 'Speichern', | 30 text: 'Schließen', |
31 action: 'save' | |
32 }, { | |
33 text: 'Abbrechen', | |
34 scope: this, | 31 scope: this, |
35 handler: this.close | 32 handler: this.close |
36 }]; | 33 }]; |
37 this.width = 700; | 34 this.width = 700; |
38 this.height = Ext.getBody().getViewSize().height - 30; | 35 this.height = Ext.getBody().getViewSize().height - 30; |