ExceptionHandler.js (tine20-2020.08.3) | : | ExceptionHandler.js (tine20-2020.08.4) | ||
---|---|---|---|---|
skipping to change at line 90 | skipping to change at line 90 | |||
}); | }); | |||
params.filenames = nonExistantFilenames; | params.filenames = nonExistantFilenames; | |||
uploadKey = nonExistantFilenames; | uploadKey = nonExistantFilenames; | |||
} else { | } else { | |||
Tine.log.debug('Tine.Filemanager.handleRequestExcept ion::' + params.method + ' -> replace all existing nodes.'); | Tine.log.debug('Tine.Filemanager.handleRequestExcept ion::' + params.method + ' -> replace all existing nodes.'); | |||
} | } | |||
if (params.method == 'Filemanager.copyNodes' || params.m ethod == 'Filemanager.moveNodes' ) { | if (params.method == 'Filemanager.copyNodes' || params.m ethod == 'Filemanager.moveNodes' ) { | |||
Tine.Filemanager.fileRecordBackend.copyNodes(null, n ull, null, params); | Tine.Filemanager.nodeBackend.copyNodes(null, null, n ull, params); | |||
} else if (params.method == 'Filemanager.createNodes' ) { | } else if (params.method == 'Filemanager.createNodes' ) { | |||
Tine.Filemanager.fileRecordBackend.createNodes(param s, uploadKey, exception.addToGridStore); | Tine.Filemanager.nodeBackend.createNodes(params, upl oadKey, exception.addToGridStore); | |||
} | } | |||
} | } | |||
}); | }); | |||
} else { | } else { | |||
Ext.Msg.show({ | Ext.Msg.show({ | |||
title: app.i18n._('An error occurred creating this folder'), | title: app.i18n._('An error occurred creating this folder'), | |||
msg: app.i18n._('Item with this name already exists!'), | msg: app.i18n._('Item with this name already exists!'), | |||
icon: Ext.MessageBox.ERROR, | icon: Ext.MessageBox.ERROR, | |||
buttons: Ext.Msg.OK | buttons: Ext.Msg.OK | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |