summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-04-30 01:48:01 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-04-30 01:48:01 +0200
commit9c520c70a8df5057ab20db8282e8fb63520bde88 (patch)
treed932ed96e9538c093f26f04563ea22cd01deb48d /core/js
parenta8b6fdd3964724b2ac91ba1d177dcf4f0e7e1a2f (diff)
downloadnextcloud-server-9c520c70a8df5057ab20db8282e8fb63520bde88.tar.gz
nextcloud-server-9c520c70a8df5057ab20db8282e8fb63520bde88.zip
Various file path fixes.
Diffstat (limited to 'core/js')
-rw-r--r--core/js/oc-dialogs.js2
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)});
}
};