Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab <gitlab@localhost>2013-01-17 19:35:57 +0400
committerGitLab <gitlab@localhost>2013-01-17 19:35:57 +0400
commit232d61d59808e6f0c731d135d728800c4b13ae27 (patch)
tree87356bbbd97abd549fcc489fb3bed60dc0438528 /app/views/projects/create.js.haml
parentc7c1a97c2fecb8931bbe66af6860a072ca97335d (diff)
Refactor project creation. Added logout link to profile page
Diffstat (limited to 'app/views/projects/create.js.haml')
-rw-r--r--app/views/projects/create.js.haml4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/projects/create.js.haml b/app/views/projects/create.js.haml
index d388988676d..296c8688f47 100644
--- a/app/views/projects/create.js.haml
+++ b/app/views/projects/create.js.haml
@@ -2,11 +2,9 @@
:plain
location.href = "#{project_path(@project)}";
- else
- - if @project.git_error?
- location.href = "#{errors_githost_path}";
- -else
:plain
$('.project_new_holder').show();
$("#new_project").replaceWith("#{escape_javascript(render('new_form'))}");
$('.save-project-loader').hide();
new Projects();
+ $('select.chosen').chosen()