diff app/model/Messwert.js @ 328:f56e6ee526a2

Inherit form model.base. Formatting
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 13 Aug 2013 08:54:24 +0200
parents 3159cbc85652
children 60763d913203
line wrap: on
line diff
--- a/app/model/Messwert.js	Tue Aug 13 08:54:24 2013 +0200
+++ b/app/model/Messwert.js	Tue Aug 13 08:54:24 2013 +0200
@@ -2,9 +2,8 @@
  * Model class for Messwerte
  */
 Ext.define('Lada.model.Messwert', {
-    extend: 'Ext.data.Model',
-    requires: ['Lada.lib.Helpers'],
-        fields: [
+    extend: 'Lada.model.Base',
+    fields: [
         {name: "id"},
         {name: "messungsId", mapping:"id.messungsId"},
         {name: "probeId", mapping:"id.probeId"},

http://lada.wald.intevation.org