git clone panel available on files tab too
This commit is contained in:
parent
8ca0b75d05
commit
f557686eb2
7 changed files with 31 additions and 14 deletions
|
@ -14,3 +14,12 @@ function Projects() {
|
|||
|
||||
disableButtonIfEmtpyField("#project_name", ".project-submit")
|
||||
}
|
||||
|
||||
function initGitCloneSwitcher() {
|
||||
var link_sel = ".project_clone_holder button";
|
||||
$(link_sel).bind("click", function(e) {
|
||||
$(link_sel).removeClass("active");
|
||||
$(this).addClass("active");
|
||||
$("#project_clone").val($(this).attr("data-clone"));
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue