Ignore:
Timestamp:
Sep 5, 2012, 6:15:07 PM (12 years ago)
Author:
cljosse
Message:

[extensions] edit_gmaps compatibility 2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/edit_gmaps/admin/js/JScript.js

    r12126 r17761  
    11
     2if (!window.log) {
     3  window.log = function () {
     4    log.history = log.history || [];
     5    // store logs to an array for reference
     6    log.history.push(arguments);
     7    if (typeof console.log == 'function') {
     8      // Modern browsers   
     9      if ((Array.prototype.slice.call(arguments)).length == 1 && typeof Array.prototype.slice.call(arguments)[0] == 'string') {
     10        console.log(
     11                  (Array.prototype.slice.call(arguments)).toString());
     12      } else {
     13        console.log(Array.prototype.slice.call(arguments));
     14      }
     15    }
     16  }
     17}
     18
     19jQuery(document).ready(function () {
     20  jQuery('input').click(function (i) {
     21
     22
     23  });
     24
     25  jQuery("#selectNone").click(function (i) {
     26    no_affiche = "false";
     27    if (no_affiche != "true") {
     28      ef_reduce("geoposition", { fast: true })
     29     
     30    } else {
     31      ef_reduce("Elements", { fast: true })
     32    }
     33
     34    jQuery("#selectNone").css("color", "blue");
     35
     36
     37  });
     38  jQuery("#selectNone1").click(function (i) {
     39    no_affiche = "true";
     40    jQuery("#selectNone").css("color", "red");
     41    jQuery("#selectNone").click();
     42
     43  });
     44
     45  jQuery(".thumbnails label").each(function (i) {
     46    var wrap2 = jQuery(this).children(".wrap2");
     47    wrap2.append("<span class='thumbLegend'> </span>");
     48  });
     49  jQuery("filedset").each(function (i) {
     50
     51
     52  });
     53
     54  jQuery(".thumbnails label").each(function (i) {
     55    var wrap2 = jQuery(this).children(".wrap2");
     56
     57  });
     58});
     59
    260/* Déclaration des variables  */
    361var geocoder;
Note: See TracChangeset for help on using the changeset viewer.