diff app/model/Ort.js @ 331:78491fbae8d3

Inherit form model.base. Formatting
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 13 Aug 2013 08:54:24 +0200
parents 0a5f6db02965
children debfcc7713e3
line wrap: on
line diff
--- a/app/model/Ort.js	Tue Aug 13 08:54:24 2013 +0200
+++ b/app/model/Ort.js	Tue Aug 13 08:54:24 2013 +0200
@@ -2,8 +2,7 @@
  * Model class for Ort
  */
 Ext.define('Lada.model.Ort', {
-    extend: 'Ext.data.Model',
-    requires: ['Lada.lib.Helpers'],
+    extend: 'Lada.model.Base',
     fields: [
         // Field from the l_ort table
         {name: "portId", type: 'int'},

http://lada.wald.intevation.org