quickfix for opening a table without the outter frame
svn path=/Website/trunk/; revision=31097
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
var insideFrame = $(this).offset();
|
||||
var outsideFrame = $(window.frameElement).offset();
|
||||
var scrollTop = $(window.parent).scrollTop();
|
||||
var offset = insideFrame.top + outsideFrame.top;
|
||||
var offset = insideFrame?insideFrame.top:0 + outsideFrame?outsideFrame.top:0;
|
||||
// if browser is IE then correct the top positioning
|
||||
var IEcorr = (/*@cc_on!@*/false)?-4:0;
|
||||
if ((scrollTop > offset) && (scrollTop < offset + $(this).height())) {
|
||||
|
||||
Reference in New Issue
Block a user