diff --git a/converse.js b/converse.js index c87b91414..42d009128 100644 --- a/converse.js +++ b/converse.js @@ -1537,7 +1537,7 @@ searchContacts: function (ev) { ev.preventDefault(); - $.getJSON(xhr_user_search_url+ "?q=" + $(ev.target).find('input.username').val(), function (data) { + $.getJSON(converse.xhr_user_search_url+ "?q=" + $(ev.target).find('input.username').val(), function (data) { var $ul= $('.search-xmpp ul'); $ul.find('li.found-user').remove(); $ul.find('li.chat-info').remove(); diff --git a/docs/CHANGES.rst b/docs/CHANGES.rst index 8e04aac22..cd4f9f82d 100644 --- a/docs/CHANGES.rst +++ b/docs/CHANGES.rst @@ -18,12 +18,13 @@ Changelog * Upgraded many dependencies to their latest versions. [jcbrand] * Add new configuration setting `forward_messages `_ Message forwarding was before a default behavior but is now optional (and disabled by default). [jcbrand] -* Newly opened chat boxes always appear immediately left of the controlbox. +* Newly opened chat boxes always appear immediately left of the controlbox. [jcbrand] * #71 Chat boxes and rooms can be minimized. [jcbrand] * #130 Fixed bootstrap conflicts. [jcbrand] * #132 Support for `XEP-0280: Message Carbons `_. Configured via `enable_message_carbons `_ [hejazee] * #176 Add support for caching in sessionStorage as opposed to localStorage. [jcbrand] +* #192 Error: xhr_user_search_url is not defined. [jcbrand] 0.7.4 (2014-03-05) ------------------