fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12554] switch autocomplete from yui to jquery


From: Sigurd Nes
Subject: [Fmsystem-commits] [12554] switch autocomplete from yui to jquery
Date: Wed, 07 Jan 2015 15:17:56 +0000

Revision: 12554
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12554
Author:   sigurdne
Date:     2015-01-07 15:17:56 +0000 (Wed, 07 Jan 2015)
Log Message:
-----------
switch autocomplete from yui to jquery

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

Modified: branches/dev-syncromind/property/inc/class.custom_fields.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.custom_fields.inc.php    
2015-01-07 15:16:03 UTC (rev 12553)
+++ branches/dev-syncromind/property/inc/class.custom_fields.inc.php    
2015-01-07 15:17:56 UTC (rev 12554)
@@ -306,16 +306,12 @@
 
                                        $_autocomplete = <<<JS
 
-                                       YAHOO.util.Event.addListener(window, 
"load", function()
-                                       {
-                                               var oArgs = 
{menuaction:'{$attributes['get_list_function']}'};
-                                               var strURL = 
phpGWLink('index.php', oArgs, true);
-                                               strURL += '{$_append_url}';
+                                       var oArgs = 
{menuaction:'{$attributes['get_list_function']}'};
+                                       var strURL = phpGWLink('index.php', 
oArgs, true);
+                                       strURL += '{$_append_url}';
 
-                                           
YAHOO.portico.autocompleteHelper(strURL, 
-                               '{$attributes['name']}_name', 
'{$attributes['name']}_id', '{$attributes['name']}_container');
+                                       
JqueryPortico.autocompleteHelper(strURL, '{$attributes['name']}_name', 
'{$attributes['name']}_id', '{$attributes['name']}_container');
 
-                                       });
 JS;
                                        if(!$view_only)
                                        {




reply via email to

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