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:
authorskv-headless <skv-headless@yandex.ru>2014-12-15 16:10:56 +0300
committerskv-headless <skv-headless@yandex.ru>2014-12-15 16:10:56 +0300
commitc4a56797a4c3a818c0ac6e57e2ea3acb76f3f1eb (patch)
treed087c4584a4b3dbb8f5482cc83772f0c74047ba0 /app/views/projects/transfer.js.haml
parent19865b7cfd4d081f6bee6e973858ee488e995561 (diff)
transfer error handler
Diffstat (limited to 'app/views/projects/transfer.js.haml')
-rw-r--r--app/views/projects/transfer.js.haml7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/views/projects/transfer.js.haml b/app/views/projects/transfer.js.haml
index 10b0de98c04..6d083c5c516 100644
--- a/app/views/projects/transfer.js.haml
+++ b/app/views/projects/transfer.js.haml
@@ -1,7 +1,2 @@
-- if @project.errors[:namespace_id].present?
- :plain
- $("#tab-transfer .errors-holder").replaceWith(errorMessage('#{escape_javascript(@project.errors[:namespace_id].first)}'));
- $("#tab-transfer .form-actions input").removeAttr('disabled').removeClass('disabled');
-- else
- :plain
+:plain
location.href = "#{edit_project_path(@project)}";