comparison kallithea/templates/admin/repos/repo_creating.html @ 4824:11422edf4bea

repos: fix redirect after repo creation (and user/group add focus) (Issue #98) ec39e73be935 introduced a regression in the cases where templates contained (javascript) snippets outside defined areas. Before, they were included anyway. After, they were not. Fixing by moving the chunks I could find inside the main def.
author Mads Kiilerich <madski@unity3d.com>
date Wed, 18 Feb 2015 23:48:47 +0100
parents 37354e1ab283
children 3a3ec35466e7
comparison
equal deleted inserted replaced
4823:2d2856fd1144 4824:11422edf4bea
41 <div style="font-weight: bold; color:#aa1111"> 41 <div style="font-weight: bold; color:#aa1111">
42 ${_("We're sorry but error occurred during this operation. Please check your Kallithea server logs, or contact administrator.")} 42 ${_("We're sorry but error occurred during this operation. Please check your Kallithea server logs, or contact administrator.")}
43 </div> 43 </div>
44 </div> 44 </div>
45 </div> 45 </div>
46 </%def>
47 46
48 <script> 47 <script>
49 (function worker() { 48 (function worker() {
50 $.ajax({ 49 $.ajax({
51 url: '${h.url('repo_check_home', repo_name=c.repo_name, repo=c.repo, task_id=c.task_id)}', 50 url: '${h.url('repo_check_home', repo_name=c.repo_name, repo=c.repo, task_id=c.task_id)}',
65 } 64 }
66 } 65 }
67 }); 66 });
68 })(); 67 })();
69 </script> 68 </script>
69 </%def>