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

Fix cherry-pick of 95a90926

parent 95a90926
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
})(this), })(this),
insertTpl: ':${name}:', insertTpl: ':${name}:',
data: ['loading'], data: ['loading'],
skipSpecialCharacterTest: true, skipSpecialCharacterTest: true,
callbacks: { callbacks: {
sorter: this.DefaultOptions.sorter, sorter: this.DefaultOptions.sorter,
filter: this.DefaultOptions.filter, filter: this.DefaultOptions.filter,
...@@ -255,10 +255,10 @@ ...@@ -255,10 +255,10 @@
callbacks: { callbacks: {
sorter: this.DefaultOptions.sorter, sorter: this.DefaultOptions.sorter,
beforeInsert: this.DefaultOptions.beforeInsert, beforeInsert: this.DefaultOptions.beforeInsert,
beforeSave: function(merges) { beforeSave: function(merges) {
return $.map(merges, function(m) { return $.map(merges, function(m) {
return { return {
title: sanitize(m.title), title: gl.utils.sanitize(m.title),
color: m.color, color: m.color,
search: "" + m.title 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