[FIX] website_forum: load js files in the right order.
authorChristophe Simonis <KangOl@users.noreply.github.com>
Tue, 18 Nov 2014 16:42:13 +0000 (17:42 +0100)
committerChristophe Simonis <KangOl@users.noreply.github.com>
Tue, 18 Nov 2014 16:42:13 +0000 (17:42 +0100)
addons/website_forum/views/website_forum.xml

index 31b666c..cece577 100644 (file)
     <xpath expr="." position="inside">
         <link rel='stylesheet' href="/web/static/lib/jquery.textext/jquery.textext.css"/>
         <link rel='stylesheet' href='/website_forum/static/src/css/website_forum.css'/>
-        <script type="text/javascript" src="/website_forum/static/src/js/website_forum.js"/>
         <script type="text/javascript" src="/web/static/lib/jquery.textext/jquery.textext.js"/>
-        <!-- TODO in master - add select2 in asset front_end from website and remove from asset_editor. -->
         <script type="text/javascript" src="/web/static/lib/select2/select2.js"></script>
         <link rel="stylesheet" href="/web/static/lib/select2/select2.css"/>
         <link rel="stylesheet" href="/website/static/lib/select2-bootstrap-css/select2-bootstrap.css"/>
+        <script type="text/javascript" src="/website_forum/static/src/js/website_forum.js"/>
     </xpath>
 </template>