Permalink
Browse files

Merge branch 'MDL-55382-master' of git://github.com/damyon/moodle

  • Loading branch information...
dmonllao committed Jan 15, 2018
2 parents 5d89d24 + b6fdcd6 commit e3d292301ed9bce58bd3adf6a1ef222686a0abde
@@ -3099,6 +3099,9 @@ var QUICKCOMMENTLIST = function(editor) {
jsondata.width,
jsondata.colour);
this.comments.push(quickcomment);
this.comments.sort(function(a, b) {
return a.rawtext.localeCompare(b.rawtext);
});
}
} catch (e) {
return new M.core.exception(e);
@@ -3195,6 +3198,10 @@ var QUICKCOMMENTLIST = function(editor) {
comment.colour);
this.comments.push(quickcomment);
}, this);
this.comments.sort(function(a, b) {
return a.rawtext.localeCompare(b.rawtext);
});
}
} catch (e) {
return new M.core.exception(e);
Oops, something went wrong.

0 comments on commit e3d2923

Please sign in to comment.