mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-06 11:08:11 +02:00
Merge pull request #537 from wknet123/master
Update for selecting all when click the pull command text.
This commit is contained in:
commit
2979481749
@ -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