[FIX] : remove mark on selected text when click on edit

bzr revid: aja@tinyerp.com-20140319090917-hkaj0jnm95hr0wb2
This commit is contained in:
ajay javiya (OpenERP) 2014-03-19 14:39:17 +05:30
parent bb5b23a01b
commit 77e9baec05
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@
}),
edit: function () {
$('.popover').remove();
$('mark').contents().unwrap();
this._super();
var top_nav = _.isNull($('#website-top-navbar').height()) ? 0 : $('#website-top-navbar').height();
var vHeight = $(window).height() - ($('header').height() + top_nav);