From 3abe522a9f84532bf2ec5672fc08984ce07ab855 Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 21 Feb 2020 15:45:16 +0100 Subject: [PATCH] Make a copy --- www/common/common-ui-elements.js | 11 ++ www/common/cryptpad-common.js | 173 ++++++++++++++++++----------- www/common/drive-ui.js | 44 +++++++- www/common/sframe-app-framework.js | 3 + www/common/sframe-common-outer.js | 14 +++ www/poll/inner.js | 3 + 6 files changed, 181 insertions(+), 67 deletions(-) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 521a666ba..b9985ccc7 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -2158,6 +2158,17 @@ define([ if (data.accept) { $input.attr('accept', data.accept); } button.click(function () { $input.click(); }); break; + case 'copy': + button = $('