Highlight entire link box when clicked for easy copying.
This commit is contained in:
parent
131766e798
commit
1352b57704
1 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,10 @@ $(function(){
|
||||||
} else {
|
} else {
|
||||||
$.data(file).addClass('done');
|
$.data(file).addClass('done');
|
||||||
$.data(file).find('.linkBox').val(response.file);
|
$.data(file).find('.linkBox').val(response.file);
|
||||||
|
$.data(file).find('.linkBox').click(function() {
|
||||||
|
this.focus();
|
||||||
|
this.select();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
// response is the JSON object that post_file.php returns
|
// response is the JSON object that post_file.php returns
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue