aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemco Brenninkmeijer <requist1@starmail.nl>2014-07-17 12:48:50 +0200
committerRemco Brenninkmeijer <requist1@starmail.nl>2014-07-17 12:48:50 +0200
commit616c5b26815009a7ef47f0c76fedc6a3fc8cc618 (patch)
treefcc046c605b64f8c94118c63c7c8be15733edd46
parente307572e8db487461a659fc0191256b2452f799e (diff)
downloadnextcloud-server-616c5b26815009a7ef47f0c76fedc6a3fc8cc618.tar.gz
nextcloud-server-616c5b26815009a7ef47f0c76fedc6a3fc8cc618.zip
Corrected (Netbeans?) inserted spaces
-rw-r--r--apps/files/css/files.css2
-rw-r--r--apps/files/js/filelist.js32
2 files changed, 17 insertions, 17 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index 1437b141f50..a816d55f105 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -161,7 +161,7 @@ table th .sort-indicator {
display: inline-block;
}
table th:hover .sort-indicator.hidden {
- width: 10px;
+ width: 10px;
height: 8px;
margin-left: 10px;
visibility: visible;
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 67a3de9a5b0..a001475d1fd 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -20,7 +20,7 @@
FileList.prototype = {
SORT_INDICATOR_ASC_CLASS: 'icon-triangle-s',
SORT_INDICATOR_DESC_CLASS: 'icon-triangle-n',
-
+
id: 'files',
appName: t('files', 'Files'),
isEmpty: true,
@@ -380,7 +380,7 @@
}
},
- /**
+ /**
* Event handler when clicking on a bread crumb
*/
_onClickBreadCrumb: function(e) {
@@ -908,31 +908,31 @@
* @param sort sort attribute name
* @param direction sort direction, one of "asc" or "desc"
*/
- setSort: function(sort, direction ) {
+ setSort: function(sort, direction) {
var comparator = FileList.Comparators[sort] || FileList.Comparators.name;
this._sort = sort;
this._sortDirection = (direction === 'desc')?'desc':'asc';
this._sortComparator = comparator;
-
+
if (direction === 'desc') {
this._sortComparator = function(fileInfo1, fileInfo2) {
return -comparator(fileInfo1, fileInfo2);
};
}
this.$el.find('thead th .sort-indicator')
- .removeClass(this.SORT_INDICATOR_ASC_CLASS)
- .removeClass(this.SORT_INDICATOR_DESC_CLASS)
- .toggleClass('hidden', true)
- .addClass(this.SORT_INDICATOR_DESC_CLASS);
-
- this.$el.find('thead th.column-' + sort + ' .sort-indicator')
- .removeClass(this.SORT_INDICATOR_ASC_CLASS)
- .removeClass(this.SORT_INDICATOR_DESC_CLASS)
- .toggleClass('hidden', false)
- .addClass(direction === 'desc' ? this.SORT_INDICATOR_DESC_CLASS : this.SORT_INDICATOR_ASC_CLASS);
+ .removeClass(this.SORT_INDICATOR_ASC_CLASS)
+ .removeClass(this.SORT_INDICATOR_DESC_CLASS)
+ .toggleClass('hidden', true)
+ .addClass(this.SORT_INDICATOR_DESC_CLASS);
+
+ this.$el.find('thead th.column-' + sort + ' .sort-indicator')
+ .removeClass(this.SORT_INDICATOR_ASC_CLASS)
+ .removeClass(this.SORT_INDICATOR_DESC_CLASS)
+ .toggleClass('hidden', false)
+ .addClass(direction === 'desc' ? this.SORT_INDICATOR_DESC_CLASS : this.SORT_INDICATOR_ASC_CLASS);
},
-
-
+
+
/**
* Reloads the file list using ajax call
*