From: <Se...@us...> - 2009-04-20 17:31:30
|
Revision: 3798 http://jaffa.svn.sourceforge.net/jaffa/?rev=3798&view=rev Author: SeanZ Date: 2009-04-20 17:31:18 +0000 (Mon, 20 Apr 2009) Log Message: ----------- added the capability to show an icon trailing the last field. Modified Paths: -------------- trunk/JaffaRIA/source/html/js/extjs/jaffa/finder/CriteriaPanel.js Modified: trunk/JaffaRIA/source/html/js/extjs/jaffa/finder/CriteriaPanel.js =================================================================== --- trunk/JaffaRIA/source/html/js/extjs/jaffa/finder/CriteriaPanel.js 2009-04-16 23:47:57 UTC (rev 3797) +++ trunk/JaffaRIA/source/html/js/extjs/jaffa/finder/CriteriaPanel.js 2009-04-20 17:31:18 UTC (rev 3798) @@ -669,6 +669,14 @@ })]; } } + if (config.tailIcon) { + config.items.push({ + xtype: 'label', + html: '<div class="'+config.tailIcon+'"> </div>', + adjacentSeparator: '' + }); + delete config.tailIcon; + } config.xtype = null; return new Ext.Panel(config); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |