Fixed JS bugs in note.js merge
This commit is contained in:
parent
2f5ee5ed20
commit
30f655c31a
|
@ -507,7 +507,7 @@
|
||||||
notes = note.closest(".notes");
|
notes = note.closest(".notes");
|
||||||
|
|
||||||
if (DiffNotesApp != null) {
|
if (DiffNotesApp != null) {
|
||||||
ref DiffNotesApp.$refs['' + noteId + ''];
|
ref = DiffNotesApp.$refs['' + noteId + ''];
|
||||||
|
|
||||||
if (ref) {
|
if (ref) {
|
||||||
ref.$destroy(true);
|
ref.$destroy(true);
|
||||||
|
@ -763,7 +763,7 @@
|
||||||
return this.notesCountBadge.text(parseInt(this.notesCountBadge.text()) + updateCount);
|
return this.notesCountBadge.text(parseInt(this.notesCountBadge.text()) + updateCount);
|
||||||
};
|
};
|
||||||
|
|
||||||
Notes.prorotype.resolveDiscussion = function () {
|
Notes.prototype.resolveDiscussion = function () {
|
||||||
var $this = $(this),
|
var $this = $(this),
|
||||||
discussionId = $this.attr('data-discussion-id');
|
discussionId = $this.attr('data-discussion-id');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue