comparison app/model/Base.js @ 385:08bb418f31c9

Use 'this' reference for idProperty in model.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 30 Aug 2013 10:29:39 +0200
parents 8bc067b5f9c5
children debfcc7713e3
comparison
equal deleted inserted replaced
384:ea424aacd07f 385:08bb418f31c9
9 * function is a workaround for 9 * function is a workaround for
10 * https://roundup-intern.intevation.de/bfs/issue30 10 * https://roundup-intern.intevation.de/bfs/issue30
11 * as some items can not be identified with a singe id. 11 * as some items can not be identified with a singe id.
12 */ 12 */
13 getEidi: function() { 13 getEidi: function() {
14 return "/" + idProperty; 14 return "/" + this.idProperty;
15 }, 15 },
16 /** 16 /**
17 * Helper function to make a AJAX request against the authinfo interface 17 * Helper function to make a AJAX request against the authinfo interface
18 * of the server 18 * of the server
19 * @param callback function(model, readonly, isowner) 19 * @param callback function(model, readonly, isowner)

http://lada.wald.intevation.org