[FIX] Ace: close editor when 'edit' is pressed
bzr revid: ddm@openerp.com-20131021085229-k60nkz6t0ggrokqu
This commit is contained in:
parent
a57c7e7c92
commit
43a09310cb
|
@ -118,6 +118,9 @@
|
||||||
document.body.addEventListener('mouseup', stopResizing, true);
|
document.body.addEventListener('mouseup', stopResizing, true);
|
||||||
self.$('.ace_gutter').mouseup(stopResizing).mousedown(startResizing).click(stopResizing);
|
self.$('.ace_gutter').mouseup(stopResizing).mousedown(startResizing).click(stopResizing);
|
||||||
$(document).mousemove(updateWidth);
|
$(document).mousemove(updateWidth);
|
||||||
|
$('button[data-action=edit]').click(function () {
|
||||||
|
self.close();
|
||||||
|
});
|
||||||
},
|
},
|
||||||
loadViews: function (views) {
|
loadViews: function (views) {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
Loading…
Reference in New Issue