diff options
| author | Christophe Matthieu <chm@odoo.com> | 2014-07-10 14:30:15 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2014-07-10 14:30:15 +0200 |
| commit | 0effbe3ca628460b9a0c257ea0bd6060c3eeb253 (patch) | |
| tree | a5ced220cd0136d7f05294fa5707b19cbc818945 /addons/website/static/src/js/website.editor.js | |
| parent | c2c0fdc916560fe08897679c03794b16701c40cd (diff) | |
[FIX] website: enumarate page raise an exception if query_string is not null; Can't create a page with the modal link editor
Diffstat (limited to 'addons/website/static/src/js/website.editor.js')
| -rw-r--r-- | addons/website/static/src/js/website.editor.js | 2 |
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 ff506190b77..bfe084898de 100644 --- a/addons/website/static/src/js/website.editor.js +++ b/addons/website/static/src/js/website.editor.js @@ -974,7 +974,7 @@ self.fetch_pages(q.term) ).then(function (exists, results) { var rs = _.map(results, function (r) { - return { id: r.url, text: r.name, }; + return { id: r.loc, text: r.loc, }; }); if (!exists) { rs.push({ |
