fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [10536] property: tweak custom autocomplete


From: Sigurd Nes
Subject: [Fmsystem-commits] [10536] property: tweak custom autocomplete
Date: Sun, 25 Nov 2012 21:05:36 +0000

Revision: 10536
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10536
Author:   sigurdne
Date:     2012-11-25 21:05:36 +0000 (Sun, 25 Nov 2012)
Log Message:
-----------
property: tweak custom autocomplete

Modified Paths:
--------------
    trunk/property/inc/class.custom_fields.inc.php

Modified: trunk/property/inc/class.custom_fields.inc.php
===================================================================
--- trunk/property/inc/class.custom_fields.inc.php      2012-11-25 20:54:38 UTC 
(rev 10535)
+++ trunk/property/inc/class.custom_fields.inc.php      2012-11-25 21:05:36 UTC 
(rev 10536)
@@ -313,7 +313,10 @@
 
                                        });
 JS;
-                                       $GLOBALS['phpgw']->js->add_code('', 
$_autocomplete);
+                                       if(!$view_only)
+                                       {
+                                               
$GLOBALS['phpgw']->js->add_code('', $_autocomplete);
+                                       }
 
                                }
                                else if($attributes['datatype'] == 'user')




reply via email to

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