1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 13:50:07 +00:00

[dir view] fix for 'dirent share/del'

This commit is contained in:
llj
2017-06-30 14:33:10 +08:00
parent b2cc92da36
commit ce749810e4

View File

@@ -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});
}