diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-03-17 23:31:11 +0300 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-03-17 23:31:11 +0300 |
commit | ee234493603ee6d41e47334ecb35820921883262 (patch) | |
tree | 546d5b20942344cdab1a35a8ba612b04f1c37dad /plugins/Dashboard | |
parent | 55bce1437efcfe51ddcc9e171cc135ffe8e18e98 (diff) |
fixes #1027 - IE "Add a widget" regressions/bugs; update jquery.blockUI to latest version
Diffstat (limited to 'plugins/Dashboard')
-rw-r--r-- | plugins/Dashboard/templates/widgetMenu.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Dashboard/templates/widgetMenu.js b/plugins/Dashboard/templates/widgetMenu.js index 6556b9085f..ace53174fa 100644 --- a/plugins/Dashboard/templates/widgetMenu.js +++ b/plugins/Dashboard/templates/widgetMenu.js @@ -231,6 +231,7 @@ widgetMenu.prototype = self.filterOutAlreadyLoadedWidget(); $.blockUI({ message: self.menuElement, + centerY: 0, css: {width:'', top: '5%',left:'10%', right:'10%', margin:"0px", textAlign:'', cursor:'', border:'0px'} }); } @@ -309,7 +310,7 @@ widgetMenu.prototype = ); $.extend($.blockUI.defaults.overlayCSS, { backgroundColor: '#000000', opacity: '0.4'}); $.extend($.blockUI.defaults,{ fadeIn: 0, fadeOut: 0 }); - $(window).keydown( function(e) { + $(document).keydown( function(e) { var key = e.keyCode || e.which; if(key == 27) { self.hideMenu(); |