Mercurial > lada > lada-client
comparison app/controller/grid/Status.js @ 1002:54179b6043b6
Set ResetStatusValue to 8
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Wed, 13 Jan 2016 15:29:09 +0100 |
parents | e92931b8f6b0 |
children | 23bfcbdb4527 |
comparison
equal
deleted
inserted
replaced
1001:e92931b8f6b0 | 1002:54179b6043b6 |
---|---|
144 }, | 144 }, |
145 | 145 |
146 doReset: function(button) { | 146 doReset: function(button) { |
147 var i18n = Lada.getApplication().bundle; | 147 var i18n = Lada.getApplication().bundle; |
148 | 148 |
149 var resetStatusValue = 0; //TODO 8 | 149 var resetStatusValue = 8; |
150 | 150 |
151 var s = button.up('window').down('messungform').getRecord().get('status'); | 151 var s = button.up('window').down('messungform').getRecord().get('status'); |
152 var messId = button.up('window').down('messungform').getRecord().get('id'); | 152 var messId = button.up('window').down('messungform').getRecord().get('id'); |
153 var recentStatus = button.up('statusgrid').store.getById(s); | 153 var recentStatus = button.up('statusgrid').store.getById(s); |
154 | 154 |