--- In yws-maps-ajax@yahoogroups.com, "kevin_korczak" <kkorczak@...> wrote:
>
> The map.disableKeyControls() and enableKeyControls() functions flip the
boolean '_disableKeys' variable but to no effect either way.
>
> The arrow keys still move the map after onfocus on an input text field invokes
the map.disableKeyControls() despite debug code showing the _disableKeys
variable has been flipped to 'true'.
>
> Likewise when onblur invokes enableKeyControls() _disableKeys is correctly
flipped back to 'false'.
>
> Any ideas?
>
> head markup:
>
> <script type="text/javascript"
src="http://api.maps.yahoo.com/ajaxymap?v=3.8&appid=....................
>
> The following scripts do not show up when you do a simple view source but
firebug's html tab shows them. It's that last script that contains the
KeyControls functions.
>
> <script type="text/javascript"
src="http://l.yimg.com/d/lib/common/utils/2/dom_2.0.1-b2.js">
> </script>
> <script type="text/javascript"
src="http://l.yimg.com/d/lib/common/utils/2/event_2.0.0-b2.js">
> </script>
> <script type="text/javascript"
src="http://l.yimg.com/d/lib/common/utils/2/dragdrop_2.0.1-b4.js">
> </script>
> <script type="text/javascript"
src="http://l.yimg.com/d/lib/common/utils/2/animation_2.0.1-b2.js">
> </script>
> <script type="text/javascript"
src="http://l.yimg.com/d/lib/map/js/api/ymapapi_3_8_2_3.js">
>
> that last script clearly has the functions mentioned.
>
> Again, I gotta be missing something, any Ideas?
>
> -Kevin
>
One other piece of the puzzle: We're using an older version of dojo (v. 0.3.1)
which has the yahoo maps calls built into it.