Changeset 759
- Timestamp:
- 02/12/13 20:19:10 (11 years ago)
- Location:
- ether_iasi/trunk/web
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ether_iasi/trunk/web/project/quicklook_script.jsp
r754 r759 20 20 21 21 this.createTools(); 22 this.getQuicklook(); 23 22 24 }, 23 25 … … 32 34 33 35 34 var quickLookButton = new Button( {id:"quickLookButton", value:"<spring:message code="label.quicklook.button"/>", parent:this.containerSelect, className: "small", onClick:jQuery.proxy( this.onClickQuicklook, this )} );36 <%--var quickLookButton = new Button( {id:"quickLookButton", value:"<spring:message code="label.quicklook.button"/>", parent:this.containerSelect, className: "small", onClick:jQuery.proxy( this.onClickQuicklook, this )} );--%> 35 37 }, 36 38 … … 46 48 paramSelect.parent = div; 47 49 this.selectSatellites = new Select( paramSelect ); 48 this.selectSatellites.add( "metopa", "MetOp-A" 49 this.selectSatellites.add( "metopb", "MetOp-B" 50 this.selectSatellites.add( "metopab", '<spring:message code="label.either"/>' 50 this.selectSatellites.add( "metopa", "MetOp-A", jQuery.proxy(this.getQuicklook, this )); 51 this.selectSatellites.add( "metopb", "MetOp-B", jQuery.proxy(this.getQuicklook, this )); 52 this.selectSatellites.add( "metopab", '<spring:message code="label.either"/>', jQuery.proxy(this.getQuicklook, this )); 51 53 this.selectSatellites.selectFirst(); 52 54 }, … … 63 65 paramSelect.parent = div; 64 66 this.selectProjections = new Select( paramSelect ); 65 this.selectProjections.add( "global", '<spring:message code="label.globe"/>' 66 this.selectProjections.add( "europe", '<spring:message code="label.europe"/>' 67 this.selectProjections.add( "pn", '<spring:message code="label.pole.north"/>' 68 this.selectProjections.add( "ps", '<spring:message code="label.pole.south"/>' 67 this.selectProjections.add( "global", '<spring:message code="label.globe"/>', jQuery.proxy(this.getQuicklook, this )); 68 this.selectProjections.add( "europe", '<spring:message code="label.europe"/>', jQuery.proxy(this.getQuicklook, this )); 69 this.selectProjections.add( "pn", '<spring:message code="label.pole.north"/>', jQuery.proxy(this.getQuicklook, this )); 70 this.selectProjections.add( "ps", '<spring:message code="label.pole.south"/>', jQuery.proxy(this.getQuicklook, this )); 69 71 this.selectProjections.selectFirst(); 70 72 }, … … 81 83 paramSelect.parent = div; 82 84 this.selectSpecies = new Select( paramSelect ); 83 this.selectSpecies.add( "CO", 'CO' 84 this.selectSpecies.add( "H2O", 'H2O');85 this.selectSpecies.add( "TS", '<spring:message code="label.surftemp"/>' 85 this.selectSpecies.add( "CO", 'CO', jQuery.proxy(this.getQuicklook, this )); 86 // this.selectSpecies.add( "H2O", 'H2O', jQuery.proxy(this.getQuicklook, this )); 87 this.selectSpecies.add( "TS", '<spring:message code="label.surftemp"/>', jQuery.proxy(this.getQuicklook, this )); 86 88 this.selectSpecies.selectFirst(); 87 89 }, … … 146 148 147 149 // EVENTS ******************************************************** 148 onClickQuicklook: function()149 {150 this.containerResultA.empty();151 this.containerResultB.empty();152 this.requestQuickLooksBySelectValues();153 },154 155 150 onClickBeginDate: function() 156 151 { 157 152 this.beginDate = this.calendarConverter.parse( $( "#beginDate" ).val() ).getTime(); 153 this.getQuicklook(); 158 154 }, 159 155 … … 165 161 this.containerErrors.show(); 166 162 this.containerErrors.html( result ); 163 }, 164 165 getQuicklook: function() 166 { 167 this.containerResultA.empty(); 168 this.containerResultB.empty(); 169 this.requestQuickLooksBySelectValues(); 167 170 } 171 172 168 173 } ); 169 174 -
ether_iasi/trunk/web/src/messages_en.properties
r756 r759 9 9 10 10 label.quicklook=QUICKLOOKS 11 label.either= Either11 label.either=Both 12 12 label.globe=Global 13 13 label.europe=Europe
Note: See TracChangeset
for help on using the changeset viewer.