summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-10-14 21:04:08 +0200
committerBart Visscher <bartv@thisnet.nl>2012-10-14 21:04:08 +0200
commit4af5b016cc0bb4e5f7e73a50d38e16d3c539bf5f (patch)
tree04ea8615a228fb252473bef72eb8b763e558ea80 /apps/files
parent2c427f050e2bc263b5c4c2faabf73e3993f1d29d (diff)
downloadnextcloud-server-4af5b016cc0bb4e5f7e73a50d38e16d3c539bf5f.tar.gz
nextcloud-server-4af5b016cc0bb4e5f7e73a50d38e16d3c539bf5f.zip
Whitespace cleanup
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/admin.php1
-rw-r--r--apps/files/css/files.css1
-rw-r--r--apps/files/js/filelist.js8
-rw-r--r--apps/files/js/files.js2
-rw-r--r--apps/files/templates/part.list.php2
5 files changed, 6 insertions, 8 deletions
diff --git a/apps/files/admin.php b/apps/files/admin.php
index 547f2bd7ddb..e8b3cb0aca0 100644
--- a/apps/files/admin.php
+++ b/apps/files/admin.php
@@ -63,4 +63,3 @@ $tmpl->assign( 'maxPossibleUploadSize', $maxUploadFilesizePossible);
$tmpl->assign( 'allowZipDownload', $allowZipDownload);
$tmpl->assign( 'maxZipInputSize', $maxZipInputSize);
return $tmpl->fetchPage();
-
diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index f15cd514241..14482c5edb5 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -89,4 +89,3 @@ a.action>img { max-height:16px; max-width:16px; vertical-align:text-bottom; }
#scanning-message{ top:40%; left:40%; position:absolute; display:none; }
div.crumb a{ padding: 0.9em 0 0.7em 0; }
-
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 100a2368722..870437ae672 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -150,7 +150,7 @@ var FileList={
if (newname != name) {
if (FileList.checkName(name, newname, false)) {
newname = name;
- } else {
+ } else {
$.get(OC.filePath('files','ajax','rename.php'), { dir : $('#dir').val(), newname: newname, file: name },function(result) {
if (!result || result.status == 'error') {
OC.dialogs.alert(result.data.message, 'Error moving file');
@@ -158,7 +158,7 @@ var FileList={
}
tr.data('renaming',false);
});
-
+
}
}
tr.attr('data-file', newname);
@@ -264,9 +264,9 @@ var FileList={
if (FileList.lastAction) {
FileList.lastAction();
}
-
+
FileList.prepareDeletion(files);
-
+
if (!FileList.useUndo) {
FileList.lastAction();
} else {
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index c5333f2fafb..777a5ec647e 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -199,7 +199,7 @@ $(document).ready(function() {
$(document).bind('drop dragover', function (e) {
e.preventDefault(); // prevent browser from doing anything, if file isn't dropped in dropZone
});
-
+
if ( document.getElementById("data-upload-form") ) {
$(function() {
$('.file_upload_start').fileupload({
diff --git a/apps/files/templates/part.list.php b/apps/files/templates/part.list.php
index 1329b5dc5cd..0f5b839b180 100644
--- a/apps/files/templates/part.list.php
+++ b/apps/files/templates/part.list.php
@@ -6,7 +6,7 @@
}
?>
</script>
-
+
<?php foreach($_['files'] as $file):
$simple_file_size = OCP\simple_file_size($file['size']);
$simple_size_color = intval(200-$file['size']/(1024*1024)*2); // the bigger the file, the darker the shade of grey; megabytes*2