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:
@@ -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();
|
||||
});
|
||||
|
Reference in New Issue
Block a user