Bläddra i källkod

Include the search_contacts templates. updates #216

JC Brand 11 år sedan
förälder
incheckning
53f87b566e
2 ändrade filer med 11 tillägg och 4 borttagningar
  1. 5 0
      docs/CHANGES.rst
  2. 6 4
      src/templates.js

+ 5 - 0
docs/CHANGES.rst

@@ -1,6 +1,11 @@
 Changelog
 =========
 
+0.8.1 (Unreleased)
+------------------
+
+* #216 Contacts tab empty when using xhr_user_search. [hcderaad and jcbrand]
+
 0.8.1 (2014-08-23)
 ------------------
 

+ 6 - 4
src/templates.js

@@ -35,6 +35,7 @@ define("converse-templates", [
     "tpl!src/templates/roster",
     "tpl!src/templates/roster_item",
     "tpl!src/templates/select_option",
+    "tpl!src/templates/search_contact",
     "tpl!src/templates/status_option",
     "tpl!src/templates/toggle_chats",
     "tpl!src/templates/toolbar",
@@ -77,9 +78,10 @@ define("converse-templates", [
         roster:                 arguments[33],
         roster_item:            arguments[34],
         select_option:          arguments[35],
-        status_option:          arguments[36],
-        toggle_chats:           arguments[37],
-        toolbar:                arguments[38],
-        trimmed_chat:           arguments[39]
+        search_contact:         arguments[36],
+        status_option:          arguments[37],
+        toggle_chats:           arguments[38],
+        toolbar:                arguments[39],
+        trimmed_chat:           arguments[40]
     };
 });