Revision: 3756
http://vexi.svn.sourceforge.net/vexi/?rev=3756&view=rev
Author: clrg
Date: 2009-11-12 02:46:39 +0000 (Thu, 12 Nov 2009)
Log Message:
-----------
Code beautitication
Modified Paths:
--------------
trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/popupmanager.t
Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/popupmanager.t
===================================================================
--- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/popupmanager.t
2009-11-12 02:45:13 UTC (rev 3755)
+++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/popupmanager.t
2009-11-12 02:46:39 UTC (rev 3756)
@@ -203,17 +203,19 @@
var p = v.v_popbox;
// use default group if none is specified
var g = p.popgroup ? p.popgroup : "default";
- // clean up popbox
- if (p.visible) popDown(v);
+ if (p.visible) {
+ // clean up popbox
+ popDown(v);
+ }
var fg = popforegs[g];
- // FIXME: needed to avoid error; open/close 'packed layout' tab in
demo
if (fg==null) {
+ // FIXME: needed to avoid error; open/close 'packed layout'
tab in demo
return;
}
fg[fg.indexof(p)] = null;
- // clean up unused foreground box
if (fg.numchildren == 0) {
+ // clean up unused foreground box
popforegs[g] = null;
fg.thisbox = null;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn