Removed debug traces

This commit is contained in:
Alejandro Gallardo Escobar 2015-03-10 13:36:17 +01:00
parent 23b8a1930b
commit e7f55390a1
4 changed files with 2 additions and 9 deletions

View File

@ -176,7 +176,6 @@ function clearGraph() {
if (data.length == 0) {
return;
}
console.log(data);
for(i = 0; i < data[0].data.length; i ++) {
data[0].data[i][1] = 0;

View File

@ -550,11 +550,7 @@ function mainSystemInfo() {
function generate_info () {
$("#submit-generate").hide();
$("#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({
url: 'ajax.php',
type: 'POST',

View File

@ -132,7 +132,6 @@ function draw_user_lines_read() {
// Draw the previous lines
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.setColor(user_lines[iterator]['line_color']);
obj_js_user_lines.drawLine(

View File

@ -303,7 +303,7 @@ if (check_acl ($config['id_user'], 0, "RW") || check_acl ($config['id_user'], 0,
}).change();
$("form#networkmap_action").submit(function (e) {
if ($("input#submit-crt").prop('disabled')) {console.log("asd");
if ($("input#submit-crt").prop('disabled')) {
e.preventDefault();
}
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();
},
success: function (data) {
console.log(data);
if (data === -1) {
alert("<?php echo __('The session may be expired'); ?>");