aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-09-05 22:17:33 +0200
committerBart Visscher <bartv@thisnet.nl>2012-09-05 22:26:09 +0200
commit9329af921d6d9bf7861fe9f996562f17beecf6a2 (patch)
tree53ae2f792840e252e6e9b811d9a3a3cb04530db3 /apps/files/js
parent9f1c76beef44fb841e6a4137c409ccb941c9236b (diff)
downloadnextcloud-server-9329af921d6d9bf7861fe9f996562f17beecf6a2.tar.gz
nextcloud-server-9329af921d6d9bf7861fe9f996562f17beecf6a2.zip
Add missing ; to js code
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/fileactions.js8
-rw-r--r--apps/files/js/files.js2
2 files changed, 5 insertions, 5 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js
index f4e7b7723f6..b7670fa2259 100644
--- a/apps/files/js/fileactions.js
+++ b/apps/files/js/fileactions.js
@@ -143,7 +143,7 @@ var FileActions={
getCurrentPermissions:function() {
return FileActions.currentFile.parent().data('permissions');
}
-}
+};
$(document).ready(function(){
if($('#allowZipDownload').val() == 1){
@@ -151,12 +151,12 @@ $(document).ready(function(){
} else {
var downloadScope = 'file';
}
- FileActions.register(downloadScope,'Download', OC.PERMISSION_READ, function(){return OC.imagePath('core','actions/download')},function(filename){
+ FileActions.register(downloadScope,'Download', OC.PERMISSION_READ, function(){return OC.imagePath('core','actions/download');},function(filename){
window.location=OC.filePath('files', 'ajax', 'download.php') + encodeURIComponent('?files='+encodeURIComponent(filename)+'&dir='+encodeURIComponent($('#dir').val()));
});
});
-FileActions.register('all','Delete', OC.PERMISSION_DELETE, function(){return OC.imagePath('core','actions/delete')},function(filename){
+FileActions.register('all','Delete', OC.PERMISSION_DELETE, function(){return OC.imagePath('core','actions/delete');},function(filename){
if(Files.cancelUpload(filename)) {
if(filename.substr){
filename=[filename];
@@ -174,7 +174,7 @@ FileActions.register('all','Delete', OC.PERMISSION_DELETE, function(){return OC.
$('.tipsy').remove();
});
-FileActions.register('all','Rename', OC.PERMISSION_UPDATE, function(){return OC.imagePath('core','actions/rename')},function(filename){
+FileActions.register('all','Rename', OC.PERMISSION_UPDATE, function(){return OC.imagePath('core','actions/rename');},function(filename){
FileList.rename(filename);
});
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 3d347c3f564..8229bfa24f1 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -26,7 +26,7 @@ Files={
});
procesSelection();
}
-}
+};
$(document).ready(function() {
$('#fileList tr').each(function(){
//little hack to set unescape filenames in attribute