sample data

这个提交包含在:
HB9HIL 2023-11-01 21:43:06 +01:00
父节点 291b511764
当前提交 df4c24f9a2

查看文件

@ -27,30 +27,60 @@ $('#simpleFleInfoButton').click(function (event) {
$('#js-syntax').click(function (event) { $('#js-syntax').click(function (event) {
$('#js-syntax').prop("disabled", false); $('#js-syntax').prop("disabled", false);
$.ajax({ $.ajax({
url: base_url + 'index.php/simplefle/displaySyntax', url: base_url + "index.php/simplefle/displaySyntax",
type: 'post', type: "post",
success: function (html) { success: function (html) {
BootstrapDialog.show({ BootstrapDialog.show({
title: "<h4>"+lang_qso_simplefle_syntax_help_title+"</h4>", title: "<h4>" + lang_qso_simplefle_syntax_help_title + "</h4>",
type: BootstrapDialog.TYPE_INFO, type: BootstrapDialog.TYPE_INFO,
size: BootstrapDialog.SIZE_WIDE, size: BootstrapDialog.SIZE_WIDE,
nl2br: false, nl2br: false,
message: html, message: html,
buttons: [{ buttons: [
label: lang_qso_simplefle_syntax_help_close_w_sample, {
action: function(){ label: lang_qso_simplefle_syntax_help_close_w_sample,
alert('Hi Orange!'); action: function () {
} BootstrapDialog.confirm({
}, { title: lang_general_word_warning,
label: lang_admin_close, message: lang_qso_simplefle_warning_reset,
cssClass: 'btn-primary', type: BootstrapDialog.TYPE_DANGER,
action: function(dialogItself){ btnCancelLabel: lang_general_word_cancel,
dialogItself.close(); btnOKLabel: lang_general_word_ok,
} btnOKClass: "btn-warning",
}] callback: function (result) {
}); if (result) {
} clearSession();
});
const logData = `
80m cw
1212 m0abc okff-1234
3 hb9hil
4 ok1tn
20 dl6kva 7 8
5 dl5cw
ssb
32 ok7wa ol/zl-071 5 8
33 ok1xxx 4 3
`;
$textarea.val(logData.trim());
handleInput();
}
},
});
},
},
{
label: lang_admin_close,
cssClass: "btn-primary",
action: function (dialogItself) {
dialogItself.close();
},
},
],
});
},
});
}); });
function handleInput() { function handleInput() {