From 111bd8e57d2ccb7e894e8c3d86daaed62b6fb618 Mon Sep 17 00:00:00 2001 From: Markus Goetz Date: Wed, 15 Jun 2016 15:24:01 +0200 Subject: files_external: Keep checkbox and its label on one line #20032 #22655 Else the checkbox and the decription end up on different lines in my Chrome on OS X --- apps/files_external/js/settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/files_external/js/settings.js') diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js index 2477f513db3..d210c158ec1 100644 --- a/apps/files_external/js/settings.js +++ b/apps/files_external/js/settings.js @@ -854,7 +854,7 @@ MountConfigListView.prototype = _.extend({ this.configureAuthMechanism($tr, storageConfig.authMechanism, onCompletion); if (storageConfig.backendOptions) { - $td.children().each(function() { + $td.find('input, select').each(function() { var input = $(this); var val = storageConfig.backendOptions[input.data('parameter')]; if (val !== undefined) { @@ -1001,7 +1001,7 @@ MountConfigListView.prototype = _.extend({ newElement = $(''); } else if (placeholder.type === MountConfigListView.ParameterTypes.BOOLEAN) { var checkboxId = _.uniqueId('checkbox_'); - newElement = $(''); + newElement = $('
'); } else if (placeholder.type === MountConfigListView.ParameterTypes.HIDDEN) { newElement = $(''); } else { -- cgit v1.2.3 value='5.0-stable'>5.0-stable Mirror of redmine code source: https://github.com/redmine/redminewww-data
summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields/formats/_numeric.html.erb
blob: cc0c798a6155f6940c3f989756c4358caf1ec7a2 (plain)
1
2
3