fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [12854]


From: Nelson Guerra
Subject: [Fmsystem-commits] [12854]
Date: Thu, 12 Mar 2015 19:25:06 +0000

Revision: 12854
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12854
Author:   nelson224
Date:     2015-03-12 19:25:05 +0000 (Thu, 12 Mar 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/property/inc/class.uirequest.inc.php

Modified: branches/dev-syncromind/property/inc/class.uirequest.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uirequest.inc.php        
2015-03-12 17:28:45 UTC (rev 12853)
+++ branches/dev-syncromind/property/inc/class.uirequest.inc.php        
2015-03-12 19:25:05 UTC (rev 12854)
@@ -886,7 +886,9 @@
                                                                                
        $('#custom_values_form').attr('method', 'POST');
                                                                                
        $('#custom_values_form').submit();"
                                        );                              
-
+                               
+                               if (!empty($query))
+                               {
                                        $code = <<<JS
                                                function 
initCompleteDatatable(oSettings, json, oTable) 
                                                { 
@@ -897,7 +899,8 @@
                                                }
 JS;
 
-                               $GLOBALS['phpgw']->js->add_code('', $code, 
true);
+                                       $GLOBALS['phpgw']->js->add_code('', 
$code, true);
+                               }
                        }
                        
                        self::add_javascript('property', 'portico', 
'request.index.js');




reply via email to

[Prev in Thread] Current Thread [Next in Thread]