solve request header——accept q=*
This commit is contained in:
parent
9dfe8caab6
commit
ecf91213c2
|
@ -6,7 +6,7 @@
|
|||
</plugin>
|
||||
<timer name="Sleep">
|
||||
<params>
|
||||
<param name="time" required="true">
|
||||
<param name="time" label="The time to sleep" required="true">
|
||||
<field size="6" />
|
||||
</param>
|
||||
</params>
|
||||
|
|
|
@ -2,7 +2,6 @@ var server = null;
|
|||
var table = $("#scriptTab").DataTable();
|
||||
var startRecordingSuccess = false;
|
||||
var startServerSuccess = false;
|
||||
var stopServerSuccess = false;
|
||||
|
||||
function startServer() {
|
||||
$.post("startRecordServer", {}, function(data) {
|
||||
|
|
|
@ -232,7 +232,10 @@ function(label, name, required, cols, id, value) {
|
|||
$(input).attr("required", "required");
|
||||
}
|
||||
if(values[i] != undefined){
|
||||
$(input).val(values[i].split("=")[1]);
|
||||
var pos = values[i].indexOf("=");
|
||||
if(pos!=-1){
|
||||
$(input).val(values[i].substring(pos+1));
|
||||
}
|
||||
}
|
||||
var td = document.createElement("td");
|
||||
$(td).attr("style", "width:" + 100 / headers.length + "%")
|
||||
|
|
Loading…
Reference in New Issue