Revision: 2060
          http://mrbs.svn.sourceforge.net/mrbs/?rev=2060&view=rev
Author:   cimorrison
Date:     2011-10-03 09:49:24 +0000 (Mon, 03 Oct 2011)
Log Message:
-----------
Fix to stop some SCRIPT87 errors which were still getting through when windows 
were resized in IE7/8

Modified Paths:
--------------
    mrbs/branches/datatables/web/jquery/datatables/js/FixedColumns.mrbs.js

Modified: mrbs/branches/datatables/web/jquery/datatables/js/FixedColumns.mrbs.js
===================================================================
--- mrbs/branches/datatables/web/jquery/datatables/js/FixedColumns.mrbs.js      
2011-10-03 09:23:30 UTC (rev 2059)
+++ mrbs/branches/datatables/web/jquery/datatables/js/FixedColumns.mrbs.js      
2011-10-03 09:49:24 UTC (rev 2060)
@@ -444,7 +444,7 @@
     var winHeight = $(window).height();
     
     var windowResizeHandler = function() {
-      // Chck whether it's a genuine window resize (IE7/8 also trigger a
+      // Check whether it's a genuine window resize (IE7/8 also trigger a
       // resize when an element in the window is resized)
       var winNewWidth = $(window).width();
       var winNewHeight = $(window).height();
@@ -558,6 +558,10 @@
        {
                var oGrid = this.dom.grid;
                var iTotal = $(oGrid.wrapper).width();
+               if (iTotal == 0)
+               {
+                 return;
+               }
                var iLeft = 0, iRight = 0, iRemainder = 0;
 
                if ( this.s.sLeftWidth == 'fixed' )

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to