add input to recordScript

add input to recordScript
This commit is contained in:
luqiong 2014-09-09 10:36:24 +08:00
parent e0579ad7c3
commit 6982240326
2 changed files with 3 additions and 1 deletions

View File

@ -202,6 +202,7 @@ button#createScript{
</div>
<div class="modal-body">
<p id="scriptInfo3"></p>
<input class="input" id="target-url3" name="target-url" type="url" value="http://">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary"

View File

@ -44,7 +44,7 @@ function startRecording() {
else {
server.fileName = data.server.fileName;
$('#scriptInfo3').text($.i18n.prop("stopRecordingMessage"));
var url = $('#target-url2').val();
var url = $('#target-url3').val();
window.open(url);
$('#stopRecording').attr('disabled', false);
$('#startRecording').attr('disabled', true);
@ -115,6 +115,7 @@ function testRecordProxy() {
if (data.success) {
$('#mySecondModal').modal('hide');
$('#myThirdModal').modal('show');
$("#target-url3").val($("#target-url2").val());
$('#scriptInfo3').text(
$.i18n.prop("startRecordingMessage"));
} else {