comparison app.js @ 130:747d488b9203

Added function getEidi which returns the part of the id of an item which needs to be appended to the store base URL for PUT and DELETE and GET Requests. This function is used to build a custom id. On default it returns the value of getId.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 25 Jun 2013 17:29:17 +0200
parents a7bfaeb1655d
children 7b1140bd8b3d
comparison
equal deleted inserted replaced
129:33aed7dde69f 130:747d488b9203
51 getAllData: function() { 51 getAllData: function() {
52 var data1 = this.getData(); 52 var data1 = this.getData();
53 var data2 = this.getAssociatedData( ); 53 var data2 = this.getAssociatedData( );
54 var dataMerged = Ext.Object.merge(data1, data2); 54 var dataMerged = Ext.Object.merge(data1, data2);
55 return dataMerged; 55 return dataMerged;
56 },
57 getEidi: function() {
58 return "/" + this.getId();
56 } 59 }
57 }); 60 });

http://lada.wald.intevation.org