Changeset 5341


Ignore:
Timestamp:
27/05/09 13:11:08 (10 years ago)
Author:
domlowe
Message:

fixed WCS download internet explorer errors

Location:
cowsclient/cowsclient
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cowsclient/cowsclient/public/js/dimensionControl.js

    r5331 r5341  
    1717    // The WMS domain and layer parameters of the current selection 
    1818    wmsParams: null, 
    19      
    2019        clearButtonID: 'WMSC_clear', 
    2120        formID: 'coordsForm', 
  • cowsclient/cowsclient/public/js/wcs.js

    r5340 r5341  
    11//Create a WCS download button 
    22function createDownloadButton(div) { 
    3     button=div.appendChild(document.createElement('input')); 
     3    var button=document.createElement('input'); 
    44    button.type='submit'; 
    55    button.id='wcsdownload'; 
     
    77    button.onclick= function() { 
    88        setupWCSrequest(); 
    9     }; 
     9    } 
     10    div.appendChild(button); 
    1011} 
    1112 
     
    2425        var wcsEndpoint=urlparts[0].replace('wms', 'wcs') +'?'; 
    2526        //console.log('wcs endpoint =  ' +wcsEndpoint);   
    26         coords=document.getElementById('coordsForm'); 
    27         var bbox =coords['bboxW'].getValue() + ',' + coords['bboxS'].getValue() + ',' + coords['bboxE'].getValue() + ',' + coords['bboxN'].getValue() 
    28         makeWCSrequest(wcsEndpoint, topLayer.name, bbox, app.dimControl._selectedDims) 
     27        var coords=document.getElementById('coordsForm'); 
     28        var bbox =coords['bboxW'].value + ',' + coords['bboxS'].value + ',' + coords['bboxE'].value + ',' + coords['bboxN'].value; 
     29        makeWCSrequest(wcsEndpoint, topLayer.name, bbox, app.dimControl._selectedDims); 
    2930} 
    3031 
  • cowsclient/cowsclient/templates/wmsviz.html

    r5336 r5341  
    77<link type="text/css" rel="stylesheet" href="$g.server/layout/ddc_vis.css"/> 
    88<link type="text/css" rel="stylesheet" href="$g.server/layout/ndg2.css"/> 
    9          
     9<!-- <script type='text/javascript'  
     10        src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script> --> 
     11 
     12 
    1013<!-- BEGIN: Yahoo Interface Library --> 
    1114<link type="text/css" rel="stylesheet" 
Note: See TracChangeset for help on using the changeset viewer.