Export to GitHub

jquery-jstore - issue #52

Error in IE 8 when Flash Player is not installed


Posted on May 24, 2011 by Happy Giraffe
  1. Install a fresh copy of IE 8 (or remove/delete Flash Player?)
  2. Load a page that uses jStore
  3. IE throws error: "Automation server can't create object"

What is the expected output? What do you see instead? I would expect jStore to function without Flash, but instead it blows up.

What version of the product are you using? On what operating system? jStore 2.0 in Internet Explorer 8 on Windows 7

Please provide any additional information below. line 444 causes the problem: - return new ActiveXObject('ShockwaveFlash.ShockwaveFlash').GetVariable('$version').replace(/\D+/g, ',').match(/^,?(.+),?$/)[1]; + try { + return new ActiveXObject('ShockwaveFlash.ShockwaveFlash').GetVariable('$version').replace(/\D+/g, ',').match(/^,?(.+),?$/)[1]; + } catch(e) {}

Status: New

Labels:
Type-Defect Priority-Medium