Commit 06d8c6ce authored by tufengqi's avatar tufengqi

beta ga相关

parent e4e097ee
...@@ -113,8 +113,13 @@ ...@@ -113,8 +113,13 @@
</tr> </tr>
<tr> <tr>
<td><?php echo VERSION_KEY; ?></td> <td><?php echo VERSION_KEY; ?></td>
<?php
$input_type = 'text';
if ($is_online_host) {
$input_type = 'hidden';
} ?>
<td class="text_input"> <td class="text_input">
<input type="text" name="<?php echo VERSION_KEY; ?>" value="<?php echo $version; ?>"> <input type="<?php echo $input_type; ?>" name="<?php echo VERSION_KEY; ?>" value="<?php echo $version; ?>">
<?php if ($is_online_host) { ?> <?php if ($is_online_host) { ?>
<span class="btn_list" id="check_one"> <span class="btn_list" id="check_one">
&nbsp;&nbsp; &nbsp;&nbsp;
...@@ -200,6 +205,7 @@ $(".return_page").on("click",function(){ ...@@ -200,6 +205,7 @@ $(".return_page").on("click",function(){
var history_version = $(".text_input input").val(); var history_version = $(".text_input input").val();
$("#check_one .check_item").on("click",function(){ $("#check_one .check_item").on("click",function(){
if($(this).hasClass("checked")){ if($(this).hasClass("checked")){
$(this).siblings().addClass("checked");
$(this).removeClass("checked"); $(this).removeClass("checked");
$(".text_input input").val(history_version); $(".text_input input").val(history_version);
}else{ }else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment