From 5c63e1015d54098e56652f07d4ce2861e52e75f9 Mon Sep 17 00:00:00 2001
From: mrburns <m.cramet@gmail.com>
Date: Fri, 8 May 2015 10:20:27 +0200
Subject: [PATCH] Add app sub url for color picker js lib inclusion

Currently, the js file doesn't take into account the possibility of a sub url being used (wich is my case :) wich prevents its inclusion.
---
 templates/repo/issue/list.tmpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl
index 0c817bc1d8..b64d8b81d7 100644
--- a/templates/repo/issue/list.tmpl
+++ b/templates/repo/issue/list.tmpl
@@ -96,7 +96,7 @@
         </div>
     </div>
 </div>
-<script src="/js/bootstrap-colorpicker.min.js"></script>
+<script src="{{AppSubUrl}}/js/bootstrap-colorpicker.min.js"></script>
 <script>
     $(function(){
         $('.label-color-picker').colorpicker({