From df8f5425dc32a98f2c5c656215fa0e8564d6a282 Mon Sep 17 00:00:00 2001 From: Robin McCorkell Date: Tue, 11 Aug 2015 19:18:36 +0100 Subject: Load custom JS for all backends/auth mechanisms Loading custom JS on a per-backend basis added needless complexity and made dealing with async required. Now all backends/auth mechanisms load custom JS in PHP --- apps/files_external/js/settings.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'apps/files_external/js') diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js index c15f36d8bd7..6bf0143f1c0 100644 --- a/apps/files_external/js/settings.js +++ b/apps/files_external/js/settings.js @@ -731,9 +731,6 @@ MountConfigListView.prototype = { var priorityEl = $(''); $tr.append(priorityEl); - if (backendConfiguration['custom'] && $el.find('tbody tr.'+backend.replace(/\\/g, '\\\\')).length === 1) { - OC.addScript('files_external', backendConfiguration['custom']); - } $td.children().not('[type=hidden]').first().focus(); $tr.find('td').last().attr('class', 'remove'); -- cgit v1.2.3