[Contesting names] Bugfix in the form for creating contests and stopped loading of contesting.js when editing contestnames.
这个提交包含在:
父节点
7a6bdf3fbc
当前提交
349f3ee1ca
共有 2 个文件被更改,包括 5 次插入 和 6 次删除
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
<?php echo validation_errors(); ?>
|
||||
|
||||
<form method="post" name="create_profile">
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<label for="contestInput">Contest Name</label>
|
||||
<input type="text" class="form-control" name="contestname" id="contestInput" aria-describedby="contestInputHelp" required>
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
<small id="adifcontestInputHelp" class="form-text text-muted">Name of Contest in ADIF-specification</small>
|
||||
</div>
|
||||
|
||||
<button onclick="createContest(this.form);" class="btn btn-primary btn-sm"><i class="fas fa-plus-square"></i> Create Contest</button>
|
||||
<button type="button" onclick="createContest(this.form);" class="btn btn-primary btn-sm"><i class="fas fa-plus-square"></i> Create Contest</button>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -853,7 +853,7 @@ $(document).on('keypress',function(e) {
|
|||
</script>
|
||||
|
||||
<?php } ?>
|
||||
<?php if ( ($this->uri->segment(1) == "qso" && $_GET['manual'] == 0) || $this->uri->segment(1) == "contesting") { ?>
|
||||
<?php if ( ($this->uri->segment(1) == "qso" && $_GET['manual'] == 0) || ($this->uri->segment(1) == "contesting" && $this->uri->segment(2) != "add")) { ?>
|
||||
<script>
|
||||
function setRst(mode) {
|
||||
if(mode == 'JT65' || mode == 'JT65B' || mode == 'JT6C' || mode == 'JTMS' || mode == 'ISCAT' || mode == 'MSK144' || mode == 'JTMSK' || mode == 'QRA64' || mode == 'FT8' || mode == 'FT4' || mode == 'JS8' || mode == 'JT9' || mode == 'JT9-1' || mode == 'ROS'){
|
||||
|
|
@ -871,8 +871,7 @@ $(document).on('keypress',function(e) {
|
|||
}
|
||||
}
|
||||
</script>
|
||||
<?php } ?>
|
||||
<?php if ( ($this->uri->segment(1) == "qso" && $_GET['manual'] == 0) || $this->uri->segment(1) == "contesting") { ?>
|
||||
|
||||
<script>
|
||||
// Javascript for controlling rig frequency.
|
||||
var updateFromCAT = function() {
|
||||
|
|
@ -1975,7 +1974,7 @@ function deleteQsl(id) {
|
|||
});
|
||||
}
|
||||
</script>
|
||||
<?php if ($this->uri->segment(1) == "contesting") { ?>
|
||||
<?php if ($this->uri->segment(1) == "contesting" && $this->uri->segment(2) != "add" ) { ?>
|
||||
<script src="<?php echo base_url() ;?>assets/js/sections/contesting.js"></script>
|
||||
<?php } ?>
|
||||
|
||||
|
|
|
|||
正在加载…
在新工单中引用