0012188: add copyOmitFields to modelconfig
[tine20] / tine20 / Tinebase / js / ApplicationStarter.js
index 7b11407..b8fe659 100644 (file)
@@ -434,7 +434,7 @@ Tine.Tinebase.ApplicationStarter = {
                     if (! Tine[appName].Model.hasOwnProperty(modelName)) {
                         Tine[appName].Model[modelName] = Tine.Tinebase.data.Record.create(Tine[appName].Model[modelArrayName], 
                             Ext.copyTo({modelConfiguration: modelConfig}, modelConfig,
-                               'idProperty,defaultFilter,appName,modelName,recordName,recordsName,titleProperty,containerProperty,containerName,containersName,group')
+                               'idProperty,defaultFilter,appName,modelName,recordName,recordsName,titleProperty,containerProperty,containerName,containersName,group,copyOmitFields')
                         );
                         Tine[appName].Model[modelName].getFilterModel = function() {
                             return filterModel;