mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-22 23:51:27 +01:00
update for selecting all when click the pull command text.
This commit is contained in:
parent
ea366357e9
commit
1b7f980235
@ -42,8 +42,13 @@
|
||||
function link(scope, element, attrs, ctrl) {
|
||||
|
||||
ctrl.harborRegUrl = $('#HarborRegUrl').val() + '/';
|
||||
|
||||
|
||||
element.find('input[type="text"]').on('click', function() {
|
||||
$(this).select();
|
||||
});
|
||||
|
||||
element.find('a').on('click', clickHandler);
|
||||
|
||||
function clickHandler(e) {
|
||||
element.find('input[type="text"]').select();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user