[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:
parent
35fb66e8cf
commit
43ca2585c5
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue