Project

General

Profile

« Previous | Next » 

Revision 5954

correctly pass the search class and value when perfroming Protocol-based and Measurement-based queries (copy and paste oversight).

View differences:

lib/style/skins/semtools/search.js
79 79
    		}	
80 80
        	// Protocol
81 81
    		if (submitFormObj.activeProtocolsValue.value) {
82
    			var searchClass = submitFormObj.activeProtocolsValue.value;
82
    			var searchClass = submitFormObj.activeProtocolsClass.value;
83 83
        	    var searchValue = submitFormObj.activeProtocolsValue.value;
84 84
        	    if (searchValue!="") {
85 85
	        	    submitFormObj.query.value += 
......
105 105
    		}	
106 106
        	// Measurement
107 107
    		if (submitFormObj.activeMeasurementsValue.value) {
108
    			var searchClass = submitFormObj.activeMeasurementsValue.value;
108
    			var searchClass = submitFormObj.activeMeasurementsClass.value;
109 109
        	    var searchValue = submitFormObj.activeMeasurementsValue.value;
110 110
        	    if (searchValue!="") {
111 111
	        	    submitFormObj.query.value += 

Also available in: Unified diff