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

[fileupload] update-confirm-popup: fix

This commit is contained in:
llj
2017-02-22 16:44:14 +08:00
parent ff0bc5af47
commit e65a95c707

View File

@@ -248,7 +248,7 @@ define([
} }
} }
}); });
$('#simplemodal-container').css({'height':'auto'}); $('#simplemodal-container').css({'width':'auto', 'height':'auto'});
$('.yes', confirm_popup).click(function() { $('.yes', confirm_popup).click(function() {
var selected_file = dirents.findWhere({'obj_name': file.name}); var selected_file = dirents.findWhere({'obj_name': file.name});
if (selected_file.get('is_locked')) { if (selected_file.get('is_locked')) {