Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

845668 - removing console.log usage from js, which cause FF3.6 failures #522

Merged
merged 1 commit into from Aug 27, 2012

Conversation

bbuckingham
Copy link
Member

Firefox 3.6 notoriously does not play nice with console.log. In the case
of 845668, it caused the behavior of adding a system to a system
group to fail without any noticable errors.

The katello js had 3 instances of console.log actively included. Since
each of those cases looks more to be there for 'debugging' purposes, I have
removed them.

If they are really needed, we can add them back with some protection
around them. An example might be:

if ( typeof console !== "undefined" && console.error && console.warn ) {
console.log(element.label);
}

Firefox 3.6 notoriously does not play nice with console.log.  In the case
of 845668, it caused the behavior of adding a system to a system
group to fail without any noticable errors.

The katello js had 3 instances of console.log actively included.  Since
each of those cases looks more to be there for 'debugging' purposes, I have
removed them.

If they are *really* needed, we can add them back with some protection
around them.  An example might be:

if ( typeof console !== "undefined" && console.error && console.warn ) {
  console.log(element.label);
}
mccun934 added a commit that referenced this pull request Aug 27, 2012
845668 - removing console.log usage from js, which cause FF3.6 failures
@mccun934 mccun934 merged commit 392d523 into Katello:master Aug 27, 2012
mccun934 added a commit that referenced this pull request Apr 27, 2013
845668 - removing console.log usage from js, which cause FF3.6 failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants