Commit 0b094126 authored by Alejandro Rodríguez's avatar Alejandro Rodríguez

Fix cherry-pick of 95a90926

parent 95a90926
......@@ -95,7 +95,7 @@
})(this),
insertTpl: ':${name}:',
data: ['loading'],
skipSpecialCharacterTest: true,
skipSpecialCharacterTest: true,
callbacks: {
sorter: this.DefaultOptions.sorter,
filter: this.DefaultOptions.filter,
......@@ -255,10 +255,10 @@
callbacks: {
sorter: this.DefaultOptions.sorter,
beforeInsert: this.DefaultOptions.beforeInsert,
beforeSave: function(merges) {
beforeSave: function(merges) {
return $.map(merges, function(m) {
return {
title: sanitize(m.title),
title: gl.utils.sanitize(m.title),
color: m.color,
search: "" + m.title
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment