Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1725

osapi.container.util.warn causes errors when used in Internet Explorer

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0-beta1
    • Fix Version/s: 2.5.0-beta1
    • Component/s: Javascript
    • Labels:
      None
    • Environment:
      Internet Explorer 8

      Description

      osapi.container.util.warn uses "console" to do logging. IE complains when "console" is undefined even though the code is checking truthiness.

      osapi.container.util.warn is only used by osapi.container.GadgetSite.prototype.navigateTo and the proposed fix would be to remove osapi.container.util.warn completely and replace it with gadgets.warn, which handles the console object appropriately across browsers.

        Attachments

          Activity

            People

            • Assignee:
              ssievers Stanton Sievers
              Reporter:
              ssievers Stanton Sievers
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified