diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-02-28 15:34:46 +0100 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-02-28 15:34:46 +0100 |
| commit | f1280e67f225775f5d6f27a7a5b1e38ab8a12acf (patch) | |
| tree | 0dbc9a179f681b189b9ac923f418a0b6c2b5c2f9 /addons/web/static/lib/jquery.contextmenu | |
| parent | 32cd30b7f5f87ae1e8684070ef89f1c1a0ded9e5 (diff) | |
[fix] context menu without .openerp class
bzr revid: nicolas.vanhoren@openerp.com-20120228143446-a5hf4po2dtxgskye
Diffstat (limited to 'addons/web/static/lib/jquery.contextmenu')
| -rw-r--r-- | addons/web/static/lib/jquery.contextmenu/jquery.contextmenu.r2.packed.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/addons/web/static/lib/jquery.contextmenu/jquery.contextmenu.r2.packed.js b/addons/web/static/lib/jquery.contextmenu/jquery.contextmenu.r2.packed.js index 47f542e5d39..585bc072e56 100644 --- a/addons/web/static/lib/jquery.contextmenu/jquery.contextmenu.r2.packed.js +++ b/addons/web/static/lib/jquery.contextmenu/jquery.contextmenu.r2.packed.js @@ -1,3 +1,7 @@ +/* + Fork of some unlicensed library found somewhere, don't hesitate to + patch it directly. +*/ (function($) { var menu,shadow,trigger,content,hash,currentTarget; var defaults= { @@ -30,7 +34,7 @@ }; $.fn.contextMenu= function(id,options) { if(!menu) { - menu=$('<div id="jqContextMenu"></div>').hide().css({ + menu=$('<div id="jqContextMenu" class="openerp"></div>').hide().css({ position:'absolute', zIndex:'2000' }).appendTo('body').bind('click', function(e) { |
