Fix QSL marking functions
这个提交包含在:
父节点
ff3c2a798f
当前提交
d09b9282fb
共有 3 个文件被更改,包括 8 次插入 和 8 次删除
|
|
@ -207,7 +207,7 @@ $ci =& get_instance();
|
|||
if(($this->config->item('use_auth')) && ($this->session->userdata('user_type') >= 2)) { ?>
|
||||
|
||||
<?php
|
||||
echo '<td style=\'text-align: center\' class="qsl">';
|
||||
echo '<td id="qsl_'.$row->COL_PRIMARY_KEY.'" style=\'text-align: center\' class="qsl">';
|
||||
echo '<span ';
|
||||
if ($row->COL_QSL_SENT != "N") {
|
||||
if ($row->COL_QSLSDATE != null) {
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ function echoQrbCalcLink($mygrid, $grid, $vucc) {
|
|||
echo_table_col($row, $this->session->userdata('user_column5'));
|
||||
|
||||
if(($this->config->item('use_auth')) && ($this->session->userdata('user_type') >= 2)) { ?>
|
||||
<td class="qsl">
|
||||
<td id="qsl_<?php echo $row->COL_PRIMARY_KEY; ?>" class="qsl">
|
||||
<span <?php if ($row->COL_QSL_SENT != "N") {
|
||||
switch ($row->COL_QSL_SENT) {
|
||||
case "Y":
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ function qsl_rcvd(id, method) {
|
|||
},
|
||||
success: function(data) {
|
||||
if (data.message == 'OK') {
|
||||
$("#qso_" + id).find("td:eq(8)").find("span:eq(1)").attr('class', 'qsl-green'); // Paints arrow green
|
||||
$("#qsl_" + id).find("span:eq(1)").attr('class', 'qsl-green'); // Paints arrow green
|
||||
$(".qsl_rcvd_" + id).remove(); // removes choice from menu
|
||||
}
|
||||
else {
|
||||
|
|
@ -26,7 +26,7 @@ function qsl_sent(id, method) {
|
|||
},
|
||||
success: function(data) {
|
||||
if (data.message == 'OK') {
|
||||
$("#qso_" + id).find("td:eq(8)").find("span:eq(0)").attr('class', 'qsl-green'); // Paints arrow green
|
||||
$("#qsl_" + id).find("span:eq(0)").attr('class', 'qsl-green'); // Paints arrow green
|
||||
$(".qsl_sent_" + id).remove(); // removes choice from menu
|
||||
}
|
||||
else {
|
||||
|
|
@ -47,7 +47,7 @@ function qsl_requested(id, method) {
|
|||
},
|
||||
success: function(data) {
|
||||
if (data.message == 'OK') {
|
||||
$("#qso_" + id).find("td:eq(8)").find("span:eq(0)").attr('class', 'qsl-yellow'); // Paints arrow green
|
||||
$("#qsl_" + id).find("span:eq(0)").attr('class', 'qsl-yellow'); // Paints arrow yellow
|
||||
}
|
||||
else {
|
||||
$(".bootstrap-dialog-message").append('<div class="alert alert-danger"><a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>You are not allowed to update QSL status!</div>');
|
||||
|
|
@ -67,7 +67,7 @@ function qsl_ignore(id, method) {
|
|||
},
|
||||
success: function(data) {
|
||||
if (data.message == 'OK') {
|
||||
$("#qso_" + id).find("td:eq(8)").find("span:eq(0)").attr('class', 'qsl-grey'); // Paints arrow grey
|
||||
$("#qsl_" + id).find("span:eq(0)").attr('class', 'qsl-grey'); // Paints arrow grey
|
||||
}
|
||||
else {
|
||||
$(".bootstrap-dialog-message").append('<div class="alert alert-danger"><a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>You are not allowed to update QSL status!</div>');
|
||||
|
|
|
|||
正在加载…
在新工单中引用