| Server IP : 162.214.74.102 / Your IP : 216.73.217.80 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/public_html/lrsys_apps/dialogo/ui/theme/lrsys/lib/ |
Upload File : |
$(document).ready(function () {
$(".progress").hide();
$("#emsg").hide();
$('#description').summernote({
toolbar: [
//[groupname, [button list]]
['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['strikethrough']],
['fontsize', ['fontsize']],
['color', ['color']],
['para', ['ul', 'ol', 'paragraph']],
['height', ['height']],
['table', ['table']],
['fullscreen', ['fullscreen']],
]
});
$('.summernote').summernote();
$("#submit").click(function (e) {
e.preventDefault();
$(this).html('<i class="fa fa-circle-o-notch fa-spin"></i> Working ...');
$(this).addClass("btn-danger");
var _url = $("#_url").val();
$.post(_url + 'cases/add-post', {
account: $('#account').val(),
title: $('#title').val(),
status: $('#status').val(),
description: $('#description').code()
})
.done(function (data) {
setTimeout(function () {
var sbutton = $("#submit");
var _url = $("#_url").val();
if ($.isNumeric(data)) {
window.location = _url + 'cases/list/all';
}
else {
sbutton.html('<i class="fa fa-check"></i> Submit');
sbutton.removeClass("btn-danger");
$("#emsgbody").html(data);
$("#emsg").show("slow");
}
}, 2000);
});
});
});