1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +00:00

accessibility improvement; bugfix & clean up

This commit is contained in:
llj
2016-04-29 16:47:04 +08:00
parent ef980da1ec
commit f466979760
18 changed files with 96 additions and 109 deletions

View File

@@ -63,9 +63,9 @@ define([
.replace('{lib_name}', '<span class="op-target">' + Common.HTMLescape(this.model.get('name')) + '</span>');
var confirm_popup = $(this.repoDelConfirmTemplate({
content: confirm_msg
}))
.appendTo(op_container)
.css({
}));
del_icon.after(confirm_popup);
confirm_popup.css({
'left': del_icon.position().left,
'top': del_icon.position().top + del_icon.height() + 2,
'width': 180
@@ -144,6 +144,7 @@ define([
}).append(form);
$op_td.hide();
$name_span.hide();
$('[name="newname"]', form).focus();
this.togglePopup();
app.ui.freezeItemHightlight = true;