summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js/website.editor.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2013-11-25 11:22:28 +0100
committerXavier Morel <xmo@openerp.com>2013-11-25 11:22:28 +0100
commit4679bfd283d0af50233afc9e1c6ecd18e7d663cf (patch)
tree9aa7f3330edae429c6d3c0afb647e3a7e3deec33 /addons/website/static/src/js/website.editor.js
parent52b8226a83d87fd23cf4bd6d6d720edf4975014c (diff)
[IMP] lower completion trigger threshold to 1
could be removed entirely, but not sure users would realize there are plenty more urls to look for... bzr revid: xmo@openerp.com-20131125102228-igkzfsh50y1ytwef
Diffstat (limited to 'addons/website/static/src/js/website.editor.js')
-rw-r--r--addons/website/static/src/js/website.editor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/js/website.editor.js b/addons/website/static/src/js/website.editor.js
index adb60c7f362..339aedcc27c 100644
--- a/addons/website/static/src/js/website.editor.js
+++ b/addons/website/static/src/js/website.editor.js
@@ -895,7 +895,7 @@
start: function () {
var self = this;
this.$('#link-page').select2({
- minimumInputLength: 3,
+ minimumInputLength: 1,
placeholder: _t("New or existing page"),
query: function (q) {
// FIXME: out-of-order, abort