now with colored country-label
这个提交包含在:
父节点
8db0de20ee
当前提交
00060fb12c
共有 1 个文件被更改,包括 8 次插入 和 0 次删除
|
|
@ -439,14 +439,20 @@ $(document).on('keypress',function(e) {
|
|||
//logbook/jsonlookupgrid/io77/SAT/0/0
|
||||
$.getJSON('logbook/jsonlookupdxcc/' + convert_case(result.dxcc.entity) + '/SAT/0/0', function(result)
|
||||
{
|
||||
|
||||
$('#callsign_info').removeClass("badge-secondary");
|
||||
$('#callsign_info').removeClass("badge-success");
|
||||
$('#callsign_info').removeClass("badge-danger");
|
||||
$('#callsign_info').attr('title', '');
|
||||
|
||||
if (result.workedBefore)
|
||||
{
|
||||
$('#callsign_info').addClass("badge-success");
|
||||
$('#callsign_info').attr('title', 'DXCC was already worked in the past on this band and mode!');
|
||||
}
|
||||
else
|
||||
{
|
||||
$('#callsign_info').addClass("badge-danger");
|
||||
$('#callsign_info').attr('title', 'New DXCC, not worked on this band and mode!');
|
||||
}
|
||||
})
|
||||
|
|
@ -458,10 +464,12 @@ $(document).on('keypress',function(e) {
|
|||
|
||||
if (result.workedBefore)
|
||||
{
|
||||
$('#callsign_info').addClass("badge-success");
|
||||
$('#callsign_info').attr('title', 'DXCC was already worked in the past on this band and mode!');
|
||||
}
|
||||
else
|
||||
{
|
||||
$('#callsign_info').addClass("badge-danger");
|
||||
$('#callsign_info').attr('title', 'New DXCC, not worked on this band and mode!');
|
||||
}
|
||||
})
|
||||
|
|
|
|||
正在加载…
在新工单中引用