Merge pull request #1214 from AndreasK79/bugfix_contestnames
[Contesting names] Bugfix in the form for creating contests and stopp…
这个提交包含在:
		
						当前提交
						292058f2a2
					
				
					共有  2 个文件被更改,包括 5 次插入 和 6 次删除
				
			
		|  | @ -19,7 +19,7 @@ | ||||||
| 
 | 
 | ||||||
| 		<?php echo validation_errors(); ?>
 | 		<?php echo validation_errors(); ?>
 | ||||||
| 
 | 
 | ||||||
| 		<form method="post" name="create_profile"> | 		<form> | ||||||
| 		<div class="form-group"> | 		<div class="form-group"> | ||||||
| 		    <label for="contestInput">Contest Name</label> | 		    <label for="contestInput">Contest Name</label> | ||||||
| 		    <input type="text" class="form-control" name="contestname" id="contestInput" aria-describedby="contestInputHelp" required> | 		    <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> | 		    <small id="adifcontestInputHelp" class="form-text text-muted">Name of Contest in ADIF-specification</small> | ||||||
| 		  </div> | 		  </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> | 		</form> | ||||||
| </div> | </div> | ||||||
|  |  | ||||||
|  | @ -853,7 +853,7 @@ $(document).on('keypress',function(e) { | ||||||
|   </script> |   </script> | ||||||
| 
 | 
 | ||||||
| <?php } ?>
 | <?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> |     <script> | ||||||
|     function setRst(mode) { |     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'){ |         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> |     </script> | ||||||
| <?php } ?>
 | 
 | ||||||
| <?php if ( ($this->uri->segment(1) == "qso" && $_GET['manual'] == 0) || $this->uri->segment(1) == "contesting") { ?>
 |  | ||||||
|     <script> |     <script> | ||||||
|         // Javascript for controlling rig frequency.
 |         // Javascript for controlling rig frequency.
 | ||||||
|   var updateFromCAT = function() { |   var updateFromCAT = function() { | ||||||
|  | @ -1975,7 +1974,7 @@ function deleteQsl(id) { | ||||||
| 		}); | 		}); | ||||||
| 	} | 	} | ||||||
| </script> | </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> |     <script src="<?php echo base_url() ;?>assets/js/sections/contesting.js"></script> | ||||||
| <?php } ?>
 | <?php } ?>
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用