Ignore:
Timestamp:
Dec 23, 2009, 8:32:13 AM (11 years ago)
Author:
cljosse
Message:

[Edit_gmaps] Fix Bug display in admin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/edit_gmaps/admin/admin_edit.tpl

    r4557 r4558  
    1919{if $lat}
    2020<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key={$GMAPS_API_KEY}&amp;hl={$lang_info.code}" type="text/javascript"></script>
    21 
    22 
     21 
    2322<script src="plugins/rv_gmaps/template/windows_13/javascripts/prototype.js" type="text/javascript"></script>
    2423
     
    243242}
    244243
     244function $(element) {
     245  if (arguments.length > 1) {
     246    for (var i = 0, elements = [], length = arguments.length; i < length; i++)
     247      elements.push($(arguments[i]));
     248    return elements;
     249  }
     250  if (Object.isString(element))
     251    element = document.getElementById(element);
     252  return Element.extend(element);
     253}
     254
    245255 Event.observe(window, 'load', onLoad );
    246256 Event.observe(window, 'unload', GUnload );
Note: See TracChangeset for help on using the changeset viewer.