这个提交包含在:
root 2023-04-06 06:02:17 +00:00
当前提交 af5ec79a44
共有 2 个文件被更改,包括 18 次插入1 次删除

查看文件

@ -119,7 +119,15 @@ class ADIF_Parser
public function feed($input_data) //allows the parser to be fed a string
{
$this->data = $input_data;
if (strpos($input_data, "<EOH>") !== false) {
$arr=explode("<EOH>",$input_data);
$newstring = $arr[1];
$this->data = $newstring;
} else {
$this->data = $input_data;
}
$this->datasplit = preg_split("/<eor>/i", mb_substr($this->data, $this->i, NULL, "UTF-8"));
}

查看文件

@ -87,6 +87,15 @@ $(function () {
});
});
// We don't want spaces to be written in serial
$(function () {
$('#exch_serial_r').on('keypress', function (e) {
if (e.which == 32) {
return false;
}
});
});
// Here we capture keystrokes to execute functions
document.onkeyup = function (e) {
// ALT-W wipe