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

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0-beta1
    • 2.5.0-beta1
    • Javascript
    • None
    • 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

        1. OsapiContainerUtilWarn.patch
          7 kB
          Stanton Sievers

        Activity

          People

            ssievers Stanton Sievers
            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