diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-03-22 15:33:31 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-03-22 15:33:31 +0100 |
| commit | 7353e02e2ef4a403d4b79c1b157f2ca00b77d2fc (patch) | |
| tree | a319552e3664ea272fdfb8abf31c961bcd5e1e6e /addons/web/static/lib/jquery.contextmenu/jquery.contextmenu.r2.packed.js | |
| parent | 514c63288c7d5d88d764b44696c5e3a5fc148dfb (diff) | |
| parent | 1da49a44a57aa413e5eb96afe9c6d294e09848fd (diff) | |
[MERGE] from trunk
bzr revid: xmo@openerp.com-20120322143331-iajlifomw1hohbht
Diffstat (limited to 'addons/web/static/lib/jquery.contextmenu/jquery.contextmenu.r2.packed.js')
| -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) { |
