Skip to content

Node.js based forum software built for the modern web

closes #2930

barisusaklie15f7902dd37
diff --git a/package.json b/package.json
index cf350935ce..288a5ad02a 100644
--- a/package.json
+++ b/package.json
@@ -39,7 +39,7 @@
"mmmagic": "^0.3.13",
"morgan": "^1.3.2",
"nconf": "~0.7.1",
- "nodebb-plugin-dbsearch": "^0.2.1",
+ "nodebb-plugin-dbsearch": "^0.2.4",
"nodebb-plugin-emoji-extended": "^0.4.1-4",
"nodebb-plugin-markdown": "^2.1.0",
"nodebb-plugin-mentions": "^0.11.0",
diff --git a/public/src/client/topic/move.js b/public/src/client/topic/move.js
index 21fcf999ff..648f9f3b27 100644
--- a/public/src/client/topic/move.js
+++ b/public/src/client/topic/move.js
@@ -78,7 +78,7 @@ define('forum/topic/move', function() {
modal.modal('hide');
$('#move_thread_commit').prop('disabled', false);
- if(err) {
+ if (err) {
return app.alertError(err.message);
}
diff --git a/src/threadTools.js b/src/threadTools.js
index 76ea84c9df..1d13440cad 100644
--- a/src/threadTools.js
+++ b/src/threadTools.js
@@ -193,6 +193,7 @@ var async = require('async'),
toCid: cid,
uid: uid
});
+ callback();
});
});
};