changeset 93:ab067fdb91b5

Set root of the data element to "data". This was needed as the Response of the server changed.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 13 Jun 2013 11:04:11 +0200
parents 4b9ea5fd9d2b
children 21c069e2ecdb
files app/store/Datenbasis.js app/store/Mst.js app/store/Netzbetreiber.js app/store/Probenart.js app/store/Uwb.js
diffstat 5 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/app/store/Datenbasis.js	Tue Jun 11 15:07:35 2013 +0200
+++ b/app/store/Datenbasis.js	Thu Jun 13 11:04:11 2013 +0200
@@ -7,7 +7,8 @@
         read: 'server/rest/datenbasis'
         },
         reader: {
-            type: 'json'
+            type: 'json',
+            root: 'data'
         }
     }
 });
--- a/app/store/Mst.js	Tue Jun 11 15:07:35 2013 +0200
+++ b/app/store/Mst.js	Thu Jun 13 11:04:11 2013 +0200
@@ -7,7 +7,8 @@
         read: 'server/rest/mst'
         },
         reader: {
-            type: 'json'
+            type: 'json',
+            root: 'data'
         }
     }
 });
--- a/app/store/Netzbetreiber.js	Tue Jun 11 15:07:35 2013 +0200
+++ b/app/store/Netzbetreiber.js	Thu Jun 13 11:04:11 2013 +0200
@@ -7,7 +7,8 @@
         read: 'server/rest/netzbetreiber'
         },
         reader: {
-            type: 'json'
+            type: 'json',
+            root: 'data'
         }
     }
 });
--- a/app/store/Probenart.js	Tue Jun 11 15:07:35 2013 +0200
+++ b/app/store/Probenart.js	Thu Jun 13 11:04:11 2013 +0200
@@ -8,7 +8,8 @@
         read: 'server/rest/probenart'
         },
         reader: {
-            type: 'json'
+            type: 'json',
+            root: 'data'
         }
     }
 });
--- a/app/store/Uwb.js	Tue Jun 11 15:07:35 2013 +0200
+++ b/app/store/Uwb.js	Thu Jun 13 11:04:11 2013 +0200
@@ -7,7 +7,8 @@
         read: 'server/rest/uwb'
         },
         reader: {
-            type: 'json'
+            type: 'json',
+            root: 'data'
         }
     }
 });

http://lada.wald.intevation.org