mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Removed debug traces
This commit is contained in:
parent
23b8a1930b
commit
e7f55390a1
@ -176,7 +176,6 @@ function clearGraph() {
|
|||||||
if (data.length == 0) {
|
if (data.length == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log(data);
|
|
||||||
|
|
||||||
for(i = 0; i < data[0].data.length; i ++) {
|
for(i = 0; i < data[0].data.length; i ++) {
|
||||||
data[0].data[i][1] = 0;
|
data[0].data[i][1] = 0;
|
||||||
|
@ -550,11 +550,7 @@ function mainSystemInfo() {
|
|||||||
function generate_info () {
|
function generate_info () {
|
||||||
$("#submit-generate").hide();
|
$("#submit-generate").hide();
|
||||||
$("#spinner_img").show();
|
$("#spinner_img").show();
|
||||||
|
|
||||||
console.log($("#checkbox-pandora_diag").prop('checked'));
|
|
||||||
console.log($("#checkbox-system_info").prop('checked'));
|
|
||||||
console.log($("#checkbox-log_info").prop('checked'));
|
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: 'ajax.php',
|
url: 'ajax.php',
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
|
@ -132,7 +132,6 @@ function draw_user_lines_read() {
|
|||||||
|
|
||||||
// Draw the previous lines
|
// Draw the previous lines
|
||||||
for (iterator = 0; iterator < user_lines.length; iterator++) {
|
for (iterator = 0; iterator < user_lines.length; iterator++) {
|
||||||
console.log(user_lines[iterator]);
|
|
||||||
obj_js_user_lines.setStroke(parseInt(user_lines[iterator]['line_width']));
|
obj_js_user_lines.setStroke(parseInt(user_lines[iterator]['line_width']));
|
||||||
obj_js_user_lines.setColor(user_lines[iterator]['line_color']);
|
obj_js_user_lines.setColor(user_lines[iterator]['line_color']);
|
||||||
obj_js_user_lines.drawLine(
|
obj_js_user_lines.drawLine(
|
||||||
|
@ -303,7 +303,7 @@ if (check_acl ($config['id_user'], 0, "RW") || check_acl ($config['id_user'], 0,
|
|||||||
}).change();
|
}).change();
|
||||||
|
|
||||||
$("form#networkmap_action").submit(function (e) {
|
$("form#networkmap_action").submit(function (e) {
|
||||||
if ($("input#submit-crt").prop('disabled')) {console.log("asd");
|
if ($("input#submit-crt").prop('disabled')) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
}
|
}
|
||||||
else if ($("select#action").val() == 'delete') {
|
else if ($("select#action").val() == 'delete') {
|
||||||
@ -343,7 +343,6 @@ if (check_acl ($config['id_user'], 0, "RW") || check_acl ($config['id_user'], 0,
|
|||||||
$imgLoading.hide();
|
$imgLoading.hide();
|
||||||
},
|
},
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
console.log(data);
|
|
||||||
|
|
||||||
if (data === -1) {
|
if (data === -1) {
|
||||||
alert("<?php echo __('The session may be expired'); ?>");
|
alert("<?php echo __('The session may be expired'); ?>");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user