• OpenPlans SVN

  • opencore r18816 - oc-js/trunk/opencore/js/oc-js

    from egj@... on 2008-07-01 20:26
    Author: egj
    Date: 2008-07-01 20:26:06 -0400 (Tue, 01 Jul 2008)
    New Revision: 18816
    
    Modified:
       oc-js/trunk/opencore/js/oc-js/oc-behaviors.js
    Log:
    use geolocation form field
    
    Modified: oc-js/trunk/opencore/js/oc-js/oc-behaviors.js
    ===================================================================
    --- oc-js/trunk/opencore/js/oc-js/oc-behaviors.js	2008-07-02 00:24:50 UTC (rev 18815)
    +++ oc-js/trunk/opencore/js/oc-js/oc-behaviors.js	2008-07-02 00:26:06 UTC (rev 18816)
    @@ -1622,7 +1622,7 @@
             }
     
             // Create the controls used to update the map
    -        var control_text = Ext.get('location');
    +        var control_text = Ext.get('geolocation');
             var control_button = Ext.get('oc-map-update-button');
             var control_error = Ext.get('oc-map-errors');
             // Function that takes a geocoder response and adjusts the map accordingly