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

View file

@ -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
}, },