"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tine20/Tinebase/js/data/Record.js" between
tine20-2020.08.3.tar.gz and tine20-2020.08.4.tar.gz

About: Tine 2.0 is a platform independent business software system which combines groupware and customer relationship management (CRM). Commercial support is available. Source code.

Record.js  (tine20-2020.08.3):Record.js  (tine20-2020.08.4)
skipping to change at line 485 skipping to change at line 485
if (! appName && modelName) { if (! appName && modelName) {
throw new Ext.Error('appName and modelName must be in the metadatas' ); throw new Ext.Error('appName and modelName must be in the metadatas' );
} }
// console.log('register model "' + appName + '.' + modelName + '"'); // console.log('register model "' + appName + '.' + modelName + '"');
Tine.Tinebase.data.RecordManager.superclass.add.call(this, appName + '.' + modelName, record); Tine.Tinebase.data.RecordManager.superclass.add.call(this, appName + '.' + modelName, record);
}, },
get: function(appName, modelName) { get: function(appName, modelName) {
if (! appName && _.isFunction(_.get(modelName, 'getMeta'))) {
return modelName;
}
if (! appName) return; if (! appName) return;
if (Ext.isFunction(appName.getMeta)) { if (Ext.isFunction(appName.getMeta)) {
return appName; return appName;
} }
if (! modelName && appName.modelName) { if (! modelName && appName.modelName) {
modelName = appName.modelName; modelName = appName.modelName;
} }
if (appName.appName) { if (appName.appName) {
appName = appName.appName; appName = appName.appName;
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)