Skip to content

unable to get ie9 to work with path.js.  #59

@jwbworks

Description

@jwbworks

Hello,

see there were past issues with ie9 that are now closed. However I am trying to load the demo pages (http://mtrpcic.github.io/pathjs/) in ie9 and clicking on the left nav and nothing happens. When I try the to run it in ieTester and try ie9 , 8 and even ie7, I get errors on line 180 char 21. Object expected.

Can someone confirm that IE is still supported? If so is there something special that needs to be done to get it to work?

-ps- I have a POc that I am building the paths work great in ff, chrome and safari its only IE not working. in IE when the user clicks on a button to go from the login page I reroutre through a success path, then to the workspace path. in all browser it works. in ie the log in button just loops back on to it self.

here is my path code

Path.map("#/login").to(function(){
brite.display("Login","#pageBody");
});

Path.map("#/success").to(function(){
//simulate time to login

loggedIn = true;
$('#pageBody').empty();
location.hash = '#/workspace';

});

Path.map("#/error").to(function(){
alert("A Login Error has Occured!");
});

Path.map("#/workspace").to(function(){
checkAuth();
brite.display("MainView","#pageBody");
});

Path.map("#/bulk001").to(function(){
checkAuth();
});

Path.map("#/disconnect").to(function(){
$('#pageBody').empty();
var loggedIn = false;
var $workspace = false;
location.hash = '#/login';
});

Path.root("#/login");

Path.rescue(notFound);

$(document).ready(function() {
Path.listen();
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions