소스 검색

Bugfix. Make sure group gets inserted

when it's created due to a new contact being added.

Was previously in the wrong place.
JC Brand 7 년 전
부모
커밋
e8718ec3d3
2개의 변경된 파일48개의 추가작업 그리고 527개의 파일을 삭제
  1. 47 526
      dist/converse.js
  2. 1 1
      src/converse-rosterview.js

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 47 - 526
dist/converse.js


+ 1 - 1
src/converse-rosterview.js

@@ -845,7 +845,6 @@
                 onContactAdded (contact) {
                     this.addRosterContact(contact).update();
                     this.updateFilter();
-                    this.sortAndPositionAllItems();
                 },
 
                 onContactChange (contact) {
@@ -895,6 +894,7 @@
 
                 addContactToGroup (contact, name, options) {
                     this.getGroup(name).contacts.add(contact, options);
+                    this.sortAndPositionAllItems();
                 },
 
                 addExistingContact (contact, options) {

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.