Mercurial > lada > lada-client
diff app/controller/form/Messung.js @ 622:ee92e352be20
Open messung create window on button click.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 16 Mar 2015 12:11:34 +0100 |
parents | 8a156a7fbe67 |
children | fdaabab6f4cc |
line wrap: on
line diff
--- a/app/controller/form/Messung.js Mon Mar 16 12:10:31 2015 +0100 +++ b/app/controller/form/Messung.js Mon Mar 16 12:11:34 2015 +0100 @@ -32,9 +32,7 @@ formPanel.getForm().getRecord().save({ success: function(record, response) { var json = Ext.decode(response.response.responseText); - if (response.action !== 'create' && - json && - json.success) { + if (json) { button.setDisabled(true); button.up('toolbar').down('button[action=discard]') .setDisabled(true);