added 404 tpl, fix for 404 on topics, continuing refactor - categories

This commit is contained in:
psychobunny
2013-05-23 16:53:19 -04:00
parent 8f281e9792
commit c785f06367
4 changed files with 156 additions and 126 deletions

View File

@@ -58,6 +58,11 @@ marked.setOptions({
voteData = results[1].voteData,
privileges = results[2];
if (!postData) {
callback(false);
return;
}
for (var i=0, ii= postData.pid.length; i<ii; i++) {
var uid = postData.uid[i],
pid = postData.pid[i];