diff --git a/app/assets/javascripts/discourse/components/group-selector.js.es6 b/app/assets/javascripts/discourse/components/group-selector.js.es6
index 8fe798f48..e88505ca9 100644
--- a/app/assets/javascripts/discourse/components/group-selector.js.es6
+++ b/app/assets/javascripts/discourse/components/group-selector.js.es6
@@ -1,29 +1,13 @@
-var compiled;
-
-function templateFunction() {
- compiled = compiled || Handlebars.compile(
- "
-
+
{{#if model.viewOpen}}
@@ -33,7 +33,7 @@
{{user-selector topicId=controller.controllers.topic.model.id
excludeCurrentUser="true"
id="private-message-users"
- include_groups="true"
+ includeGroups="true"
class="span8"
placeholderKey="composer.users_placeholder"
tabindex="1"
diff --git a/app/assets/javascripts/discourse/templates/group-selector-autocomplete.raw.hbs b/app/assets/javascripts/discourse/templates/group-selector-autocomplete.raw.hbs
new file mode 100644
index 000000000..a396c2d7f
--- /dev/null
+++ b/app/assets/javascripts/discourse/templates/group-selector-autocomplete.raw.hbs
@@ -0,0 +1,7 @@
+
diff --git a/app/assets/javascripts/discourse/templates/modal/change_owner.hbs b/app/assets/javascripts/discourse/templates/modal/change_owner.hbs
index 0e8831367..1330351a6 100644
--- a/app/assets/javascripts/discourse/templates/modal/change_owner.hbs
+++ b/app/assets/javascripts/discourse/templates/modal/change_owner.hbs
@@ -6,7 +6,7 @@
diff --git a/app/assets/javascripts/discourse/templates/modal/invite.hbs b/app/assets/javascripts/discourse/templates/modal/invite.hbs
index dd7689add..743fc6d2f 100644
--- a/app/assets/javascripts/discourse/templates/modal/invite.hbs
+++ b/app/assets/javascripts/discourse/templates/modal/invite.hbs
@@ -15,7 +15,7 @@
{{#if isAdmin}}
- {{group-selector includeAuto=false groupFinder=groupFinder groupNames=groupNames placeholderKey="topic.invite_private.group_name"}}
+ {{group-selector groupFinder=groupFinder groupNames=groupNames placeholderKey="topic.invite_private.group_name"}}
{{/if}}
{{/if}}
diff --git a/app/assets/javascripts/discourse/templates/modal/invite_private.hbs b/app/assets/javascripts/discourse/templates/modal/invite_private.hbs
index 47e8cd267..0284697ce 100644
--- a/app/assets/javascripts/discourse/templates/modal/invite_private.hbs
+++ b/app/assets/javascripts/discourse/templates/modal/invite_private.hbs
@@ -10,7 +10,7 @@
{{i18n 'topic.invite_private.success'}}
{{else}}