comparison app/view/widgets/LadaForm.js @ 490:446e99cfd425

Updated views and controllers using the new model and stores.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 21:28:31 +0100
parents debfcc7713e3
children 850ccfe5f3c4
comparison
equal deleted inserted replaced
489:6056a7fd9aa2 490:446e99cfd425
99 var data = this.model.getAllData(); 99 var data = this.model.getAllData();
100 var baseUrl = this.model.getProxy().url; 100 var baseUrl = this.model.getProxy().url;
101 var url = baseUrl; 101 var url = baseUrl;
102 var method = "POST"; 102 var method = "POST";
103 if (this.model.getId()) { 103 if (this.model.getId()) {
104 url += this.model.getEidi(); 104 url += this.model.getId();
105 method = "PUT"; 105 method = "PUT";
106 } 106 }
107 107
108 Ext.Ajax.request({ 108 Ext.Ajax.request({
109 url: url, 109 url: url,

http://lada.wald.intevation.org