[phpwebapp-commits] CVS: web_app/webobjects/listbox listbox.php,1.4,1.5
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2005-07-06 06:13:29
|
Update of /cvsroot/phpwebapp/web_app/webobjects/listbox In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19869/webobjects/listbox Modified Files: listbox.php Log Message: Index: listbox.php =================================================================== RCS file: /cvsroot/phpwebapp/web_app/webobjects/listbox/listbox.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** listbox.php 22 Jul 2004 16:25:36 -0000 1.4 --- listbox.php 6 Jul 2005 06:13:17 -0000 1.5 *************** *** 29,33 **** function onRender() { ! } } --- 29,40 ---- function onRender() { ! //get the name of the recordset of the listbox ! $params = $this->getParams(); ! $rs = $params['rs']; ! ! //open the recordset, so that in case of error, ! //the error is not displayed inside the <select> ! //where it is invisible, but is displayed before it ! WebApp::openRS($rs); } } |