Allow to override module name of a specific application either through the model...
[tine20] / tine20 / Tinebase / js / widgets / ContentTypeTreePanel.js
index 0e16ddd..d057598 100644 (file)
@@ -166,7 +166,7 @@ Ext.extend(Tine.widgets.ContentTypeTreePanel, Ext.tree.TreePanel, {
                 id : 'treenode-' + recordClass.getMeta('modelName'),
                 contentType: recordClass.getMeta('modelName'),
                 iconCls: modelApp.appName + modelName,
-                text: recordClass.getRecordsName(),
+                text: recordClass.getModuleName(),
                 leaf : true
             };