diff options
Diffstat (limited to 'apps/files_external/js/statusmanager.js')
-rw-r--r-- | apps/files_external/js/statusmanager.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_external/js/statusmanager.js b/apps/files_external/js/statusmanager.js index 8985edd968a..d77f056cf1d 100644 --- a/apps/files_external/js/statusmanager.js +++ b/apps/files_external/js/statusmanager.js @@ -141,7 +141,7 @@ OCA.Files_External.StatusManager = { self.isGetMountPointListRunning = true; $.ajax({ type: 'GET', - url: OC.linkToOCS('apps/files_external/api/v1/mounts?format=json'), + url: OC.linkToOCS('apps/files_external/api/v1') + 'mounts?format=json', success: function (response) { self.mountPointList = []; _.each(response.ocs.data, function (mount) { @@ -159,7 +159,7 @@ OCA.Files_External.StatusManager = { }, error: function (jqxhr, state, error) { self.mountPointList = []; - OC.Notification.show(t('files_external', 'Couldn\'t get the list of external mount points: {type}', + OC.Notification.show(t('files_external', 'Couldn\'t get the list of external mount points: {type}', {type: error}), {type: 'error'} ); }, @@ -271,7 +271,7 @@ OCA.Files_External.StatusManager = { // check if we have a list first if (list === undefined && !self.emptyWarningShown) { self.emptyWarningShown = true; - OC.Notification.show(t('files_external', 'Couldn\'t fetch list of Windows network drive mount points: Empty response from server'), + OC.Notification.show(t('files_external', 'Couldn\'t fetch list of Windows network drive mount points: Empty response from server'), {type: 'error'} ); return; |