changeset 327:63eae13768f3

Inherit form model.base. Formatting
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 13 Aug 2013 08:54:24 +0200
parents 702bf882f5a8
children f56e6ee526a2
files app/model/Messung.js
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/app/model/Messung.js	Tue Aug 13 08:54:24 2013 +0200
+++ b/app/model/Messung.js	Tue Aug 13 08:54:24 2013 +0200
@@ -2,9 +2,8 @@
  * Model class for Messungen
  */
 Ext.define('Lada.model.Messung', {
-    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