parent
e0579ad7c3
commit
6982240326
|
@ -202,6 +202,7 @@ button#createScript{
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p id="scriptInfo3"></p>
|
<p id="scriptInfo3"></p>
|
||||||
|
<input class="input" id="target-url3" name="target-url" type="url" value="http://">
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary"
|
<button type="button" class="btn btn-primary"
|
||||||
|
|
|
@ -44,7 +44,7 @@ function startRecording() {
|
||||||
else {
|
else {
|
||||||
server.fileName = data.server.fileName;
|
server.fileName = data.server.fileName;
|
||||||
$('#scriptInfo3').text($.i18n.prop("stopRecordingMessage"));
|
$('#scriptInfo3').text($.i18n.prop("stopRecordingMessage"));
|
||||||
var url = $('#target-url2').val();
|
var url = $('#target-url3').val();
|
||||||
window.open(url);
|
window.open(url);
|
||||||
$('#stopRecording').attr('disabled', false);
|
$('#stopRecording').attr('disabled', false);
|
||||||
$('#startRecording').attr('disabled', true);
|
$('#startRecording').attr('disabled', true);
|
||||||
|
@ -115,6 +115,7 @@ function testRecordProxy() {
|
||||||
if (data.success) {
|
if (data.success) {
|
||||||
$('#mySecondModal').modal('hide');
|
$('#mySecondModal').modal('hide');
|
||||||
$('#myThirdModal').modal('show');
|
$('#myThirdModal').modal('show');
|
||||||
|
$("#target-url3").val($("#target-url2").val());
|
||||||
$('#scriptInfo3').text(
|
$('#scriptInfo3').text(
|
||||||
$.i18n.prop("startRecordingMessage"));
|
$.i18n.prop("startRecordingMessage"));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue