Revision: 1717 http://svn.sourceforge.net/vexi/?rev=1717&view=rev Author: mkpg2 Date: 2007-03-08 09:13:38 -0800 (Thu, 08 Mar 2007)
Log Message: ----------- Fix. Lists value handling (using keysof to remove values properly). Modified Paths: -------------- widgets/trunk/org.vexi.demo/org/vexi/demo/lists.t widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/list.t Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/lists.t =================================================================== --- widgets/trunk/org.vexi.demo/org/vexi/demo/lists.t 2007-03-08 16:54:53 UTC (rev 1716) +++ widgets/trunk/org.vexi.demo/org/vexi/demo/lists.t 2007-03-08 17:13:38 UTC (rev 1717) @@ -6,7 +6,7 @@ <scrollpane id="pane" autohidehorizontal="true" autohidevertical="true"> <list id="list" width="300" shrink="false" fill="white"> - <item value="split row 2"> + <item value="split row 1"> <ui:box align="left" text="foo"/> <ui:box fill="silver" align="left" text="foo2"/> </item> Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/list.t =================================================================== --- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/list.t 2007-03-08 16:54:53 UTC (rev 1716) +++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/list.t 2007-03-08 17:13:38 UTC (rev 1717) @@ -83,7 +83,8 @@ // drop from selected list else if (values[trapee]) { - values[trapee] = null; + //vexi.log.info("rem " +v); + (keysof(values)).remove(trapee); numselected--; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn