mirror of
https://github.com/moodle/moodle.git
synced 2025-03-18 22:50:19 +01:00
Merge branch 'MDL-55382-master' of git://github.com/damyon/moodle
This commit is contained in:
commit
e3d292301e
@ -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);
|
||||
|
File diff suppressed because one or more lines are too long
@ -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);
|
||||
|
@ -86,6 +86,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);
|
||||
@ -182,6 +185,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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user