stopserver after success to stoprecording

This commit is contained in:
hmm 2014-09-04 08:39:01 +08:00
parent 06a1d745f2
commit 8f546999fb
1 changed files with 2 additions and 1 deletions

View File

@ -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() {