From 7620af75508fea22790adc1cd56c26b973646af7 Mon Sep 17 00:00:00 2001 From: Ross Nicoll Date: Wed, 14 Jan 2015 17:21:39 +0000 Subject: Updated Dropbox and Google UI Javascript to create input elements instead of anchor. --- apps/files_external/js/dropbox.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps/files_external/js/dropbox.js') diff --git a/apps/files_external/js/dropbox.js b/apps/files_external/js/dropbox.js index 6baaabe11b6..2880e910f2c 100644 --- a/apps/files_external/js/dropbox.js +++ b/apps/files_external/js/dropbox.js @@ -65,7 +65,10 @@ $(document).ready(function() { || $(tr).find('.chzn-select').val() != null)) { if ($(tr).find('.dropbox').length == 0) { - $(config).append(''+t('files_external', 'Grant access')+''); + $(config).append($(document.createElement('input')) + .addClass('button dropbox') + .attr('type', 'button') + .attr('value', t('files_external', 'Grant access'))); } else { $(tr).find('.dropbox').show(); } -- cgit v1.2.3