mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 18:18:46 +02:00
(Retrofit from trunk) Portal : Removed console.log to prevent crashes on IE9
SVN:2.3[4337]
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user