Mercurial > lada > lada-client
diff app/controller/form/Messung.js @ 628:e3cdc36cbcae
merged
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Mon, 16 Mar 2015 12:40:06 +0100 |
parents | ee92e352be20 |
children | fdaabab6f4cc |
line wrap: on
line diff
--- a/app/controller/form/Messung.js Mon Mar 16 12:38:56 2015 +0100 +++ b/app/controller/form/Messung.js Mon Mar 16 12:40:06 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);