diff --git a/static/scripts/app/views/dirent.js b/static/scripts/app/views/dirent.js index c812fa2e37..dae60f8637 100644 --- a/static/scripts/app/views/dirent.js +++ b/static/scripts/app/views/dirent.js @@ -350,6 +350,8 @@ define([ 'obj_name': obj_name }; new ShareView(options); + + this._hideMenu(); return false; }, @@ -366,6 +368,8 @@ define([ .replace('%(name)s', dirent_name); Common.feedback(msg, 'success'); + _this._hideMenu(); + if (_this.model.get('is_img')) { _this.dirView.updateMagnificPopupOptions({'op':'delete-item', 'index':index}); }