Permalink
Browse files

Merge branch 'MDL-55382-34' of git://github.com/damyon/moodle into MO…

…ODLE_34_STABLE
  • Loading branch information...
dmonllao committed Jan 15, 2018
2 parents c4107de + 60f544f commit 440989aeabd5469f542e422f096c340a47b74e7a
@@ -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 440989a

Please sign in to comment.