cvs: pear /Structures_DataGrid/docs/examples ajax-simple.php
| From: | Olivier Guilyardi | Date: | Mon, 27 Aug 2007 18:52:42 +0000 |
| Subject: | cvs: pear /Structures_DataGrid/docs/examples ajax-simple.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-48508@lists.php.net to get a copy of this message | ||
olivierg Mon Aug 27 18:52:42 2007 UTC
Modified files:
/pear/Structures_DataGrid/docs/examples ajax-simple.php
Log:
ajax example: removed duplicate exit() and obsolete warning
http://cvs.php.net/viewvc.cgi/pear/Structures_DataGrid/docs/examples/ajax-simple.php?r1=1.5&r2=1.6&diff_format=u
Index: pear/Structures_DataGrid/docs/examples/ajax-simple.php
diff -u pear/Structures_DataGrid/docs/examples/ajax-simple.php:1.5
pear/Structures_DataGrid/docs/examples/ajax-simple.php:1.6
--- pear/Structures_DataGrid/docs/examples/ajax-simple.php:1.5 Tue Aug 7 14:30:27 2007
+++ pear/Structures_DataGrid/docs/examples/ajax-simple.php Mon Aug 27 18:52:42 2007
@@ -14,14 +14,12 @@
// Handle table AJAX requests
if ($_GET['ajax'] == 'table') {
$datagrid->render();
- exit();
}
// Handle pager AJAX requests
if ($_GET['ajax'] == 'pager') {
- // Warning: requires Pager >= 2.4.4
$datagrid->render('Pager');
- exit();
}
+ exit();
}
// No AJAX request, render the initial content..