Add feedback

pull/1/head
yflory 6 years ago
parent 9ecd90218c
commit 34cc90bd08

@ -2323,6 +2323,10 @@ define([
if (e) { return void console.error(e); } if (e) { return void console.error(e); }
}); });
if (val.expire) {
Feedback.send('EXPIRING_PAD-'+val.expire);
}
$creationContainer.remove(); $creationContainer.remove();
common.createPad(val, function () { common.createPad(val, function () {
cb(); cb();

@ -95,6 +95,7 @@ define([
if (!sharedFolder && fd.owners && fd.owners.indexOf(edPublic) !== -1 if (!sharedFolder && fd.owners && fd.owners.indexOf(edPublic) !== -1
&& channelId) { && channelId) {
if (channelId) { ownedRemoved.push(channelId); } if (channelId) { ownedRemoved.push(channelId); }
Feedback.send('REMOVE_OWNED_CHANNEL');
removeOwnedChannel(channelId, function (obj) { removeOwnedChannel(channelId, function (obj) {
if (obj && obj.error) { if (obj && obj.error) {
// If the error is that the file is already removed, nothing to // If the error is that the file is already removed, nothing to

Loading…
Cancel
Save