nodebb-plugin-composer-default 7.0.13 → 7.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-composer-default",
3
- "version": "7.0.13",
3
+ "version": "7.0.14",
4
4
  "description": "Default composer for NodeBB",
5
5
  "main": "library.js",
6
6
  "repository": {
@@ -20,8 +20,11 @@ define('composer', [
20
20
  'bootbox',
21
21
  'hooks',
22
22
  'messages',
23
+ 'search',
23
24
  ], function (taskbar, translator, uploads, formatting, drafts, tags,
24
- categoryList, preview, resize, autocomplete, scheduler, scrollStop, topicThumbs, api, bootbox, hooks, messagesModule) {
25
+ categoryList, preview, resize, autocomplete, scheduler, scrollStop,
26
+ topicThumbs, api, bootbox, hooks, messagesModule, search
27
+ ) {
25
28
  var composer = {
26
29
  active: undefined,
27
30
  posts: {},
@@ -610,7 +613,7 @@ define('composer', [
610
613
  return;
611
614
  }
612
615
 
613
- app.enableTopicSearch({
616
+ search.enableQuickSearch({
614
617
  searchElements: {
615
618
  inputEl: postContainer.find('input.title'),
616
619
  resultEl: postContainer.find('.quick-search-container'),