Browse Source
Focus the input after clicking the "Tags" label
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/2105/head
Joas Schilling
9 years ago
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with
3 additions and
2 deletions
-
apps/systemtags/js/systemtagsinfoview.js
|
|
|
@ -151,9 +151,10 @@ |
|
|
|
$('#app-sidebar').find('.mainFileInfoView .file-details').append(this._toggleHandle); |
|
|
|
this._toggleHandle.off('click'); |
|
|
|
this._toggleHandle.on('click', function () { |
|
|
|
console.log('toggle'); |
|
|
|
console.log(self.$el); |
|
|
|
self.$el.toggleClass('hidden'); |
|
|
|
if (!self.$el.hasClass('hidden')) { |
|
|
|
self.$el.find('.systemTagsInputField').select2('open'); |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
|