diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-04-30 01:48:01 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-04-30 01:48:01 +0200 |
commit | 9c520c70a8df5057ab20db8282e8fb63520bde88 (patch) | |
tree | d932ed96e9538c093f26f04563ea22cd01deb48d /core/js | |
parent | a8b6fdd3964724b2ac91ba1d177dcf4f0e7e1a2f (diff) | |
download | nextcloud-server-9c520c70a8df5057ab20db8282e8fb63520bde88.tar.gz nextcloud-server-9c520c70a8df5057ab20db8282e8fb63520bde88.zip |
Various file path fixes.
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/oc-dialogs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index 6a3dac02ea7..7e41c1a7a59 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -240,6 +240,6 @@ OCdialogs = { var newval = parseInt($(dcid + ' #dirtree option:last').val())+1; $(dcid + ' #dirtree').append('<option selected="selected" value="'+newval+'">'+name+'</option>'); $(dcid + ' .filepicker_loader').css('visibility', 'visible'); - $.getJSON(OC.webroot+'/files/ajax/rawlist.php', {dir: p, mimetype: $(dcid).data('mimetype')}, function(r){OC.dialogs.fillFilePicker(r, dcid)}); + $.getJSON(OC.filePath('files', 'ajax', 'rawlist.php'), {dir: p, mimetype: $(dcid).data('mimetype')}, function(r){OC.dialogs.fillFilePicker(r, dcid)}); } }; |