From dc6682406904f947a3c05e1b4ba0a124f6116c31 Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Mon, 9 Feb 2015 15:02:51 +0500 Subject: [PATCH] [#369] fix creating a fork of a project --- app/assets/javascripts/extra/fork.js | 2 +- app/assets/javascripts/new_application.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/extra/fork.js b/app/assets/javascripts/extra/fork.js index 1c56b269f..2b5d18f92 100644 --- a/app/assets/javascripts/extra/fork.js +++ b/app/assets/javascripts/extra/fork.js @@ -8,7 +8,7 @@ $(document).ready(function() { url: forks_path.val(), data: 'name=' + fork_name.val(), success: function(data){ - $('#forks_list').html(data); + $('#forkModal .modal-body').html(data); }, error: function(data){ alert('error'); // TODO remove diff --git a/app/assets/javascripts/new_application.js b/app/assets/javascripts/new_application.js index 18bc68b37..dfe401f79 100644 --- a/app/assets/javascripts/new_application.js +++ b/app/assets/javascripts/new_application.js @@ -34,6 +34,7 @@ //= require extra/pull //= require extra/scroller +//= require extra/fork //= require_self