From 26e80af8cb23318458ae2c273d0455decf62fe6e Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Mon, 12 Mar 2012 16:13:34 +0600 Subject: [PATCH] [refs #195] one click select --- app/views/projects/_repo_block.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/_repo_block.html.haml b/app/views/projects/_repo_block.html.haml index 9a3bf0b1c..825fc5242 100644 --- a/app/views/projects/_repo_block.html.haml +++ b/app/views/projects/_repo_block.html.haml @@ -1,7 +1,7 @@ .description-top .img= image_tag 'code.png' = text_field_tag :url, git_repo_url(project.git_repo_name), :class => 'name', - :type => 'text',:spellcheck => 'false', :readonly => true + :type => 'text',:spellcheck => 'false', :readonly => true, :onfocus => "this.select()" .role = t("layout.read_write_access") = render :partial => 'projects/branch_select', :locals => {:project => project}