Mercurial > lada > lada-client
comparison app/view/widgets/LadaForm.js @ 87:ee1d1305dcff
Added field for netzbetreiber. Is needed because of FK constraints.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 11 Jun 2013 13:20:27 +0200 |
parents | 079f99229eff |
children | 819bfedb70de |
comparison
equal
deleted
inserted
replaced
86:eb40b74f871a | 87:ee1d1305dcff |
---|---|
19 border: 0, | 19 border: 0, |
20 | 20 |
21 errors: null, | 21 errors: null, |
22 warnings: null, | 22 warnings: null, |
23 message: null, | 23 message: null, |
24 readonly: false, | |
24 | 25 |
25 initComponent: function() { | 26 initComponent: function() { |
26 | 27 |
27 this.callParent(); | 28 this.callParent(); |
28 | 29 |
109 }, | 110 }, |
110 parseResponse: function(operation) { | 111 parseResponse: function(operation) { |
111 this.errors = this.translateReturnCodes(operation.request.scope.reader.jsonData["errors"]); | 112 this.errors = this.translateReturnCodes(operation.request.scope.reader.jsonData["errors"]); |
112 this.warnings = this.translateReturnCodes(operation.request.scope.reader.jsonData["warnings"]); | 113 this.warnings = this.translateReturnCodes(operation.request.scope.reader.jsonData["warnings"]); |
113 this.message = Lada.getApplication().bundle.getMsg(operation.request.scope.reader.jsonData["message"]); | 114 this.message = Lada.getApplication().bundle.getMsg(operation.request.scope.reader.jsonData["message"]); |
115 //this.setReadOnly(true); | |
114 } | 116 } |
115 | 117 |
116 }); | 118 }); |