mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
edit tag focus input
when you edit a tag in the tag manager page, the input for the name is focused
This commit is contained in:
@@ -212,6 +212,7 @@ function setupTagbox(tagBox) {
|
||||
//Edit Name
|
||||
tagBox.find('.dropdown-option.edit').on('click', function() {
|
||||
tagBox.addClass('edit-name');
|
||||
tagBox.find(".tag-name-editable").focus();
|
||||
})
|
||||
|
||||
tagBox.find('.tag-rename .icon-cancel').on('click', function() {
|
||||
|
||||
Reference in New Issue
Block a user