1
0
Fork 0

Highlight entire link box when clicked for easy copying.

This commit is contained in:
Andrew Tomaka 2011-11-07 22:39:43 -05:00
parent 131766e798
commit 1352b57704
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@ $(function(){
} else {
$.data(file).addClass('done');
$.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
},