sort by name is assign form
[redakcja.git] / redakcja / static / js / wiki / view_annotations.js
index 071e7ee..5bac593 100644 (file)
 
                             if (!counter) {
                                 anno_list.sort(function(a, b){return a.sortby.localeCompare(b.sortby);});
-                                self.$annos.append(anno_list);
+                                for (i in anno_list)
+                                    self.$annos.append(anno_list[i]);
                                 self.$spinner.hide();
                                 self.$annos.show();
                             }