Ignore:
Timestamp:
2019-06-24T16:41:04+12:00 (5 years ago)
Author:
wy59
Message:
  1. Undoing the change to doc.pm committed in revision 33185: not storing all combinations of precision for Lat and Long in CoordShorts. Instead, Dr Bainbridge fixed up map-scripts.js to ensure that the requested precision (num decimal places) for Lat and Lng in a CoordShort are now the same. The chosen precision for both is set to whichever of the two is more zoomed out, which work out to be whichever of the two has fewer decimal places. 2. Dr Bainbridge and Martin set min-height when mapEnabled to ensure the footer didn't interfere in the map. 3. classifier-scripts' httpRequest() renamed to httpBrowseRequest() and map's getSubClassifier() renamed to httpMapBrowseRequest().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/js/classifier_scripts.js

    r33187 r33217  
    5353    else
    5454    {
    55         httpRequest(sectionID);
     55        httpBrowseRequest(sectionID);
    5656    }
    5757}
     
    114114}
    115115
    116 function httpRequest(sectionID)
     116function httpBrowseRequest(sectionID)
    117117{
    118118    if(!inProgress[sectionID])
     
    156156            updateOpenClassifiers();           
    157157            if(typeof mapEnabled !== 'undefined'){
    158                 getSubClassifier(sectionID);
     158                httpMapBrowseRequest(sectionID);
    159159            }
    160160        })
Note: See TracChangeset for help on using the changeset viewer.