Revision: 4636
          http://sourceforge.net/p/vexi/code/4636
Author:   clrg
Date:     2014-01-03 14:54:31 +0000 (Fri, 03 Jan 2014)
Log Message:
-----------
Comment out "should not be possible" exception, as it actually does in practise

Modified Paths:
--------------
    branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/layout/grid.t

Modified: 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/layout/grid.t
===================================================================
--- branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/layout/grid.t    
2014-01-02 16:01:33 UTC (rev 4635)
+++ branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/layout/grid.t    
2014-01-03 14:54:31 UTC (rev 4636)
@@ -242,7 +242,9 @@
                         }
                         if (reachDown == 0) {
                             // no rows to be further decreased in size
-                            throw "Should not be possible";
+                            //throw "Should not be possible";
+                            // FIXME: except it actually does in practise
+                            break;
                         }
                         var ts = targetSize;
                         // else adjust targetRowSize according to target-total 
deficit
@@ -257,7 +259,9 @@
                         }
                         if (reachUp == 0) {
                             // no rows to be further increased in size
-                            throw "Should not be possible";
+                            //throw "Should not be possible";
+                            // FIXME: except it actually does in practise
+                            break;
                         }
                         var ts = targetSize;
                         // adjust targetRowSize according to target-total 
deficit
@@ -610,8 +614,7 @@
                 // removing a child
                 var b = $content[trapname];
                 if (b) {
-                    // FIXME: except it actually does in practise
-                    //if (b[0] == null) throw "Should not happen";
+                    if (b[0] == null) throw "Should not happen";
                     // finish removal
                     $content[trapname] = null;
                 } else {

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


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to