Add 'Store in drive' menu entry to the poll and sheet apps

pull/1/head
yflory 4 years ago
parent ae1eff6e3b
commit e62d654b90

@ -2551,6 +2551,9 @@ define([
common.createButton('hashtag', true).appendTo(toolbar.$drawer); 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) { var $forget = common.createButton('forget', true, {}, function (err) {
if (err) { return; } if (err) { return; }
setEditable(false); setEditable(false);

@ -1175,6 +1175,9 @@ define([
metadataMgr.updateMetadata(meta); metadataMgr.updateMetadata(meta);
}); });
var $store = common.createButton('storeindrive', true);
$drawer.append($store);
/* add a forget button */ /* add a forget button */
var forgetCb = function (err) { var forgetCb = function (err) {
if (err) { return; } if (err) { return; }

Loading…
Cancel
Save