Ignore:
Timestamp:
Apr 18, 2010, 2:00:42 PM (15 years ago)
Author:
janveeden
Message:

Gebruiker and beheerder view are now different. Beheerder view shows all info, gebruiker only a bit of info. Fixed typo in kmlHandler.php. Added a Math.random to calls to node_info.php to prevent unwanted caching.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/map/inc/nodemapWL.js

    r7826 r7827  
    100100                markerSelected = marker;
    101101                marker.setImage("../img/sleutelGroenSelected.png");//Path should be in config
    102                 loadXMLDoc("inc/node_info.php?type=single&name="+name+""); //Should also be in config   
     102                loadXMLDoc("inc/node_info.php?type=single&name="+name+"&a="+Math.random()); //Should also be in config 
    103103        }
    104104}
     
    114114                map.addOverlay(polygon);
    115115               
    116                 loadXMLDoc("inc/node_info.php?type=single&name="+name+"");//Path should be in config
     116                loadXMLDoc("inc/node_info.php?type=single&name="+name+"&a="+Math.random());//Path should be in config
    117117
    118118                /*
     
    221221        //end
    222222       
    223         loadXMLDoc("inc/node_info.php?type=cluster&markers="+a_php+"&sel=selected")
     223        loadXMLDoc("inc/node_info.php?type=cluster&markers="+a_php+"&sel=selected"+"&a="+Math.random())
    224224}
    225225
     
    356356function suggestMarkers(value)
    357357{
    358         loadSuggest("inc/suggestions.php?value="+value);
     358        loadSuggest("inc/suggestions.php?value="+value+"&a="+Math.random());
    359359}
    360360
     
    368368                {
    369369                        map.setCenter(markerArray[i].getLatLng(), 15);
    370                         loadXMLDoc("inc/node_info.php?type=single&name="+value+"")
     370                        loadXMLDoc("inc/node_info.php?type=single&name="+value+"&a="+Math.random())
    371371                }
    372372        }
Note: See TracChangeset for help on using the changeset viewer.