self.addAndFetchFileInfo(targetPath, '', {scrollTo:true}).then(function(status, data) {
                        deferred.resolve(status, data);
                    }, function() {
                        OC.Notification.show(t('files', 'Could not create folder "{dir}"',
                            {dir: name}), {type: 'error'}