diff app/model/Messung.js @ 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 65f8be677c8a
children debfcc7713e3
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