[FIX] don't try to be brokenly clever about preventing click on links during edition

bzr revid: xmo@openerp.com-20130904151021-otzw635in9lhh1e1
This commit is contained in:
Xavier Morel 2013-09-04 17:10:21 +02:00
parent 35fb66e8cf
commit 43ca2585c5
1 changed files with 1 additions and 4 deletions

View File

@ -152,10 +152,7 @@
$raw_editables.parents('a')
.add($raw_editables.find('a'))
.on('click', function (e) {
// Don't alter bubbling events not coming from links
if (e.target === e.currentTarget) {
e.preventDefault();
}
e.preventDefault();
});
this.rte.start_edition($rte_ables);