|
From: <ken...@us...> - 2008-12-11 21:30:01
|
Revision: 949
http://andro.svn.sourceforge.net/andro/?rev=949&view=rev
Author: kendowns
Date: 2008-12-11 21:29:51 +0000 (Thu, 11 Dec 2008)
Log Message:
-----------
x6 dropdown support server-side.
Modified Paths:
--------------
trunk/andro/lib/index_hidden.php
Modified: trunk/andro/lib/index_hidden.php
===================================================================
--- trunk/andro/lib/index_hidden.php 2008-12-11 21:28:40 UTC (rev 948)
+++ trunk/andro/lib/index_hidden.php 2008-12-11 21:29:51 UTC (rev 949)
@@ -478,6 +478,23 @@
vgfSet('x6',true);
+ # KFD 12/10/08, allow dynamic lookups.
+ #
+ if(gp('x6select',false)) {
+ $table_id = gp('x6page');
+ $gpletters= gp('gpletters');
+ $matches = array();
+
+ $rows=RowsForSelect($table_id,$gpletters,$matches,'',true);
+ foreach($rows as $idx=>$row) {
+ unset($rows[$idx]['skey']);
+ }
+ x6Data('x6select',$rows);
+ echo json_encode_safe($GLOBALS['AG']['x4']);
+ return;
+ }
+
+
# This little bit of magic loads up the CSS information
# for the current template and skin, allowing downstream
# code to determine how much space they have to work with
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|