[Lada-commits] [PATCH 47 of 56] Inherit form model.base. Formatting

Wald Commits scm-commit at wald.intevation.org
Tue Aug 13 09:54:13 CEST 2013


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1376376864 -7200
# Node ID 78491fbae8d376e76b7b3cbe35c7b537d4839306
# Parent  9b9e98dacb7c7f4f9ab52ac46684a85f55023d85
Inherit form model.base. Formatting

diff -r 9b9e98dacb7c -r 78491fbae8d3 app/model/Ort.js
--- 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'},


More information about the Lada-commits mailing list