changeset 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 63eae13768f3
children dec076f1c3ae
files app/model/Messwert.js
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
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