From e62d654b9090b6d61335b6d80e074bb2375d2cd1 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 5 May 2021 10:41:13 +0200 Subject: [PATCH] Add 'Store in drive' menu entry to the poll and sheet apps --- www/common/onlyoffice/inner.js | 3 +++ www/poll/inner.js | 3 +++ 2 files changed, 6 insertions(+) diff --git a/www/common/onlyoffice/inner.js b/www/common/onlyoffice/inner.js index af5bcc22d..4a0a56be0 100644 --- a/www/common/onlyoffice/inner.js +++ b/www/common/onlyoffice/inner.js @@ -2551,6 +2551,9 @@ define([ common.createButton('hashtag', true).appendTo(toolbar.$drawer); } + var $store = common.createButton('storeindrive', true); + toolbar.$drawer.append($store); + var $forget = common.createButton('forget', true, {}, function (err) { if (err) { return; } setEditable(false); diff --git a/www/poll/inner.js b/www/poll/inner.js index a65a7b1c8..6d4e0590e 100644 --- a/www/poll/inner.js +++ b/www/poll/inner.js @@ -1175,6 +1175,9 @@ define([ metadataMgr.updateMetadata(meta); }); + var $store = common.createButton('storeindrive', true); + $drawer.append($store); + /* add a forget button */ var forgetCb = function (err) { if (err) { return; }