HistoryManager
HistoryManager copied to clipboard
Peoblems with updateState
Hi arieh, very good job! I will use your HistoryManager in my site, but I have a problem with your updateState Function. When I add "select":"L1;" and then add "b":"hide" the funktion fire the select-changed event. But when I add "select":"L1;L2;" and then add "b":"hide" the funktion do not fire the select-changed event. Why? The second case is the case I want.
Greetings from Germany Benedikt
can you send a use case that i can work on? i'm not sure i understand something like: HM.set('a','b'); //what i want HM.set('c','e'); //what i want so that i can create a test?
I've added this test page: http://arieh.github.com/HistoryManager/test1.html
steps: HM.set('select','L1'); //select-added HM.set('b','hide'); //b-added HM.set('select','L2');//select-changed HM.set('b','hide');//won't do anything because it wasn't changed