mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-18 23:08:46 +02:00
Remember that console.log breaks IE9 when the console is not open !!!
SVN:2.3[4314]
This commit is contained in:
@@ -95,7 +95,7 @@ class BsFileUploadFieldRenderer extends FieldRenderer
|
||||
dataType: 'json',
|
||||
pasteZone: null, // Don't accept files via Chrome's copy/paste
|
||||
done: function (e, data) {
|
||||
if(data.result.error !== undefined)
|
||||
if((data.result.error !== undefined) && window.console)
|
||||
{
|
||||
console.log(data.result.error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user