stopserver after success to stoprecording
This commit is contained in:
parent
06a1d745f2
commit
8f546999fb
|
@ -57,18 +57,19 @@ function stopRecording() {
|
|||
"stop record server error:" + data.failedMessage);
|
||||
$('#stopServer').attr('disabled', true);
|
||||
$('#startServer').attr('disabled', false);
|
||||
|
||||
}
|
||||
else {
|
||||
$('#stopServer').attr('disabled', true);
|
||||
$('#scriptInfo3').text(
|
||||
$.i18n.prop("stoprecord")
|
||||
);
|
||||
stopServer();
|
||||
}
|
||||
}, "json");
|
||||
} else {
|
||||
$('#scriptInfo3').text("record script server has not started");
|
||||
}
|
||||
stopServer();
|
||||
}
|
||||
|
||||
function stopServer() {
|
||||
|
|
Loading…
Reference in New Issue