summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-04-23 16:36:24 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-04-23 16:36:24 +0200
commit9226cb7a6a029ef1257eee46cd22044a294b0d5f (patch)
treefacbc736b412678d59c700df2e93d8ec8bc391e3 /core/js
parentaaedb23f055d0b6465743e79fa97cc8b02121a35 (diff)
downloadnextcloud-server-9226cb7a6a029ef1257eee46cd22044a294b0d5f.tar.gz
nextcloud-server-9226cb7a6a029ef1257eee46cd22044a294b0d5f.zip
rename var file to getfile to prevent fails in files app
Diffstat (limited to 'core/js')
-rw-r--r--core/js/js.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 9b0a159b5c2..4abaced1ae0 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -53,7 +53,7 @@ OC={
var isCore=OC.coreApps.indexOf(app)!=-1;
var link=OC.webroot;
if(file.substring(file.length-3) == 'php' && !isCore){
- link+='/?app=' + app + '&file=' + type + '/' + file;
+ link+='/?app=' + app + '&getfile=' + type + '/' + file;
}else{
link+='/';
app+='/';