diff 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
line wrap: on
line diff
--- a/app/model/Base.js	Thu Aug 29 16:34:53 2013 +0200
+++ b/app/model/Base.js	Fri Aug 30 10:29:39 2013 +0200
@@ -11,7 +11,7 @@
      * as some items can not be identified with a singe id.
      */
     getEidi: function() {
-        return "/" + idProperty;
+        return "/" + this.idProperty;
     },
     /**
      * Helper function to make a AJAX request against the authinfo interface

http://lada.wald.intevation.org