diff --git a/www/common/inner/access.js b/www/common/inner/access.js index 7abfd1035..2e1f4b4a8 100644 --- a/www/common/inner/access.js +++ b/www/common/inner/access.js @@ -909,6 +909,7 @@ define([ channel: data.channel }, function (err, obj) { spinner.done(); + UI.findCancelButton().click(); if (err || (obj && obj.error)) { UI.warn(Messages.error); } }); }); diff --git a/www/common/proxy-manager.js b/www/common/proxy-manager.js index f3ae4936c..bf7af8d39 100644 --- a/www/common/proxy-manager.js +++ b/www/common/proxy-manager.js @@ -892,6 +892,10 @@ define([ }).nThen(function () { // Remove deleted pads from the drive _delete(Env, { resolved: toDelete }, cb); + // If we were using the access modal, send a refresh command + if (data.channel) { + Env.Store.refreshDriveUI(); + } }); };