summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/ace/mode-xml.js
AgeCommit message (Collapse)Author
2020-01-24[FIX] web: backport fix from ace.jsJeremy Kersten
Bug in ace-editor is present since that we updated in 1.3.1. Because diff between 1.3.2 and 1.3.1 is big (-1288 +4661) with new feature... We prefer just patch the library in stable branch applying part of commit: https://github.com/ajaxorg/ace/commit/1890598a5da2259cfb0ceac38fed7bca582765db To do in master? : upgrade ace.js How to reproduce: > create ir.ui.view > be sure to empty all the content > type '<xpath expr=""' > Now if you type the > it will crash - Cannot read property 'type' of null closes odoo/odoo#43955 X-original-commit: 1a90740b8e699fc3afa28c3ddb5490328facb995 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2018-03-14[IMP] update ace editor to v1.3.1Géry Debongnie
Note that we do not do a custom build anymore, since we lazyload the files anyway. A custom build will save a few kb, but will not do any meaningful change to the user experience. However, it dies impact negatively our ease of maintenance, so standard build it is.
2017-08-31[IMP] web: lazy load nvd3, ace and fullCalendar lib to reduce asset sizeChristophe Matthieu
2016-08-23[IMP] web: use not minified version of ace libChristophe Matthieu
2016-08-23[IMP] web: add ace editor for xml and python editionChristophe Matthieu
* display all lines and don't display the scroll bar into ace editor * lazy read ace lib and add missing lib file * use not minified version of ace lib * Move ace lib from website to web * Added ace widget for webclient * XML mode for view text box * Python mode for server action text box * Removed web_ace_editor.xml, instead added template in base.xml itself * Added widget=ace_editor in compute field of ir.model.fields