fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12166] set coordinator/vendor id to hidden text fiel


From: Alejandro
Subject: [Fmsystem-commits] [12166] set coordinator/vendor id to hidden text field after autocomplete
Date: Mon, 13 Oct 2014 19:23:04 +0000

Revision: 12166
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12166
Author:   nudrick
Date:     2014-10-13 19:23:03 +0000 (Mon, 13 Oct 2014)
Log Message:
-----------
set coordinator/vendor id to hidden text field after autocomplete

Modified Paths:
--------------
    branches/dev-syncromind/phpgwapi/js/jquery/common.js

Modified: branches/dev-syncromind/phpgwapi/js/jquery/common.js
===================================================================
--- branches/dev-syncromind/phpgwapi/js/jquery/common.js        2014-10-13 
15:42:25 UTC (rev 12165)
+++ branches/dev-syncromind/phpgwapi/js/jquery/common.js        2014-10-13 
19:23:03 UTC (rev 12166)
@@ -84,7 +84,8 @@
                        },
                        minLength: 1,
                        select: function( event, ui ) {
-                         chooseLocation( ui.item.label, ui.item.value);
+                               $("#" + hidden).val(ui.item.value); 
+                               chooseLocation( ui.item.label, ui.item.value);
                        }
         });
        });




reply via email to

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