1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 23:29:49 +00:00

[upgrade jquery] modifications, & cleaned up code & files

This commit is contained in:
llj
2018-02-05 16:47:56 +08:00
parent 2d98cc405d
commit 88478dee1d
159 changed files with 591 additions and 21432 deletions

View File

@@ -281,7 +281,7 @@ define([
}
});
$('#simplemodal-container').css({'width':'auto', 'height':'auto'});
$('.yes', confirm_popup).click(function() {
$('.yes', confirm_popup).on('click', function() {
var selected_file = dirents.findWhere({'obj_name': file.name});
if (selected_file.get('is_locked')) {
if (selected_file.get('locked_by_me')) {
@@ -296,7 +296,7 @@ define([
$.modal.close();
}
});
$('.no', confirm_popup).click(function() {
$('.no', confirm_popup).on('click', function() {
file.choose_to_upload = true;
$.modal.close();
});