diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-11-06 09:43:45 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-11-06 09:43:45 +0100 |
commit | 5445b1ff172d5186530ab0352ac35cb028127312 (patch) | |
tree | 86ef75039910b1f08eef7287ac4303871c852cbc /apps/files/js | |
parent | 576d31d48d1e368c0ca54a95f28dc3bc0e553d83 (diff) | |
download | nextcloud-server-5445b1ff172d5186530ab0352ac35cb028127312.tar.gz nextcloud-server-5445b1ff172d5186530ab0352ac35cb028127312.zip |
Remove unused variables
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/detailsview.js | 18 | ||||
-rw-r--r-- | apps/files/js/favoritesfilelist.js | 1 |
2 files changed, 0 insertions, 19 deletions
diff --git a/apps/files/js/detailsview.js b/apps/files/js/detailsview.js index a896e84fdc0..7bfc3d5ad7b 100644 --- a/apps/files/js/detailsview.js +++ b/apps/files/js/detailsview.js @@ -78,9 +78,6 @@ this._detailFileInfoViews = []; this._dirty = true; - - // uncomment to add some dummy tabs for testing - //this._addTestTabs(); }, _onClose: function(event) { @@ -102,21 +99,6 @@ this.selectTab(tabId); }, - _addTestTabs: function() { - for (var j = 0; j < 2; j++) { - var testView = new OCA.Files.DetailTabView({id: 'testtab' + j}); - testView.index = j; - testView.getLabel = function() { return 'Test tab ' + this.index; }; - testView.render = function() { - this.$el.empty(); - for (var i = 0; i < 100; i++) { - this.$el.append('<div>Test tab ' + this.index + ' row ' + i + '</div>'); - } - }; - this._tabViews.push(testView); - } - }, - template: function(vars) { if (!this._template) { this._template = Handlebars.compile(TEMPLATE); diff --git a/apps/files/js/favoritesfilelist.js b/apps/files/js/favoritesfilelist.js index 4c2cf3ce818..8c9c125d0a1 100644 --- a/apps/files/js/favoritesfilelist.js +++ b/apps/files/js/favoritesfilelist.js @@ -66,7 +66,6 @@ $(document).ready(function() { }, reload: function() { - var tagName = OC.TAG_FAVORITE; this.showMask(); if (this._reloadCall) { this._reloadCall.abort(); |