changeset 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 ea424aacd07f
children 00bf2d4f3bd1 4d968257d982
files app/model/Base.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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