Author: ralfbecker
New Revision: 55627
URL: http://svn.stylite.de/viewvc/egroupware?rev=55627&view=rev
Log:
remember newly set options from get_rows method for server-side validation of nextmatch filters
Modified:
trunk/egroupware/api/src/Etemplate/Widget/Nextmatch.php
— trunk/egroupware/api/src/Etemplate/Widget/Nextmatch.php (original)
+++ trunk/egroupware/api/src/Etemplate/Widget/Nextmatch.php Tue Apr 5 14:56:10 2016
@@ -658,8 +658,11 @@
{
if($n == ‘sel_options’)
{
-
foreach($row as $name => &$options)
{
-
// remember newly set options for validation of nextmatch filters
-
self::$request->sel_options[$name] = $options;
-
Select::fix_encoded_options($options, true);
}
}
@@ -1020,7 +1023,7 @@
$form_name = self::form_name($cname, $this->id, $expand);
$value = self::get_array($content, $form_name);
-
// Some (most) nextmatch settings are set in its value, not attributes, which aren't in
// $content. Fetch them from the request, so we actually have them.
$content_value = self::get_array(self::$request->content, $form_name);
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs