diff --git a/datamodels/2.x/itop-portal-base/portal/src/views/bricks/browse/mode_list.html.twig b/datamodels/2.x/itop-portal-base/portal/src/views/bricks/browse/mode_list.html.twig index 1c33aaee7f..feeb741ff9 100644 --- a/datamodels/2.x/itop-portal-base/portal/src/views/bricks/browse/mode_list.html.twig +++ b/datamodels/2.x/itop-portal-base/portal/src/views/bricks/browse/mode_list.html.twig @@ -101,7 +101,7 @@ cellElem.attr('data-toggle', 'modal').attr('data-target', '#modal-for-all').attr('href', url); break; default: - console.log('Action "'+levelPrimaryAction.type+'" not implemented'); + //console.log('Action "'+levelPrimaryAction.type+'" not implemented'); break; } @@ -154,7 +154,7 @@ actionElem.attr('data-toggle', 'modal').attr('data-target', '#modal-for-all').attr('href', url); break; default: - console.log('Action "'+action.type+'" not implemented for secondary action'); + //console.log('Action "'+action.type+'" not implemented for secondary action'); break; } @@ -201,7 +201,6 @@ "type": "html", "data": oLevelsProperties[sKey].alias+".fields."+oLevelsProperties[sKey].fields[i].code }); - console.log(oLevelsProperties[sKey].fields[i].visible); } } } diff --git a/datamodels/2.x/itop-portal-base/portal/src/views/bricks/browse/mode_tree.html.twig b/datamodels/2.x/itop-portal-base/portal/src/views/bricks/browse/mode_tree.html.twig index a6b5e4a227..0612d30c94 100644 --- a/datamodels/2.x/itop-portal-base/portal/src/views/bricks/browse/mode_tree.html.twig +++ b/datamodels/2.x/itop-portal-base/portal/src/views/bricks/browse/mode_tree.html.twig @@ -227,7 +227,7 @@ aElem.attr('data-toggle', 'modal').attr('data-target', '#modal-for-all').attr('href', url); break; default: - console.log('Action "'+levelPrimaryAction.type+'" not implemented for primary action'); + //console.log('Action "'+levelPrimaryAction.type+'" not implemented for primary action'); break; } @@ -279,7 +279,7 @@ actionElem.attr('data-toggle', 'modal').attr('data-target', '#modal-for-all').attr('href', url); break; default: - console.log('Action "'+action.type+'" not implemented for secondary action'); + //console.log('Action "'+action.type+'" not implemented for secondary action'); break; } diff --git a/datamodels/2.x/itop-portal-base/portal/src/views/bricks/manage/layout.html.twig b/datamodels/2.x/itop-portal-base/portal/src/views/bricks/manage/layout.html.twig index e771c41553..8da3f41cac 100644 --- a/datamodels/2.x/itop-portal-base/portal/src/views/bricks/manage/layout.html.twig +++ b/datamodels/2.x/itop-portal-base/portal/src/views/bricks/manage/layout.html.twig @@ -69,12 +69,12 @@ { var tableProperties = columnsProperties[tableName]; - if(tableProperties === undefined) + if(tableProperties === undefined && window.console) { console.log('Could not retrieve columns properties for table "'+tableName+'"'); return false; } - if(rawData[tableName] === undefined) + if(rawData[tableName] === undefined && window.console) { console.log('Could not retrieve data for table "'+tableName+'"'); return false; @@ -120,7 +120,7 @@ cellElem.attr('data-toggle', 'modal').attr('data-target', '#modal-for-all').attr('href', url); break; default: - console.log('Action "'+itemPrimaryAction+'" not implemented'); + //console.log('Action "'+itemPrimaryAction+'" not implemented'); break; } @@ -227,7 +227,7 @@ // Note : The '.off()' call is to unbind event from DataTables that where triggered before we could intercept anything $('#table-{{ sAreaId }}_filter input').off().on('keyup', function(){ var me = this; - console.log('here'); + clearTimeout(oKeyTimeout); oKeyTimeout = setTimeout(function() { oTable{{ sAreaId }}.search(me.value.latinise()).draw(); diff --git a/datamodels/2.x/itop-portal-base/portal/src/views/bricks/user-profile/layout.html.twig b/datamodels/2.x/itop-portal-base/portal/src/views/bricks/user-profile/layout.html.twig index 6dd100fb30..825f5ccf88 100644 --- a/datamodels/2.x/itop-portal-base/portal/src/views/bricks/user-profile/layout.html.twig +++ b/datamodels/2.x/itop-portal-base/portal/src/views/bricks/user-profile/layout.html.twig @@ -189,11 +189,11 @@ }); // - Undo button /*$('#user-profile-wrapper .actions .btn_undo').on('click', function(oEvent){ - console.log('Picture undo trigger'); + //console.log('Picture undo trigger'); });*/ // - Reset button $('#user-profile-wrapper .actions .btn_reset').on('click', function(oEvent){ - console.log('Picture reset trigger'); + //console.log('Picture reset trigger'); }); // Submit button