[FIX] Ace: preserve hash on double open

bzr revid: ddm@openerp.com-20130918145834-fe0wqog2u1zoed8m
This commit is contained in:
ddm 2013-09-18 16:58:34 +02:00
parent 0a5c3d6654
commit 311f970394
1 changed files with 4 additions and 1 deletions

View File

@ -27,7 +27,10 @@
events: _.extend({}, website.EditorBar.prototype.events, {
'click a[data-action=ace]': 'launch',
}),
launch: launch,
launch: function (e) {
e.preventDefault();
launch();
},
});
website.ace = {};