Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Peoblems with updateState #5

Open
BMo-design opened this issue Jun 14, 2010 · 2 comments
Open

Peoblems with updateState #5

BMo-design opened this issue Jun 14, 2010 · 2 comments

Comments

@BMo-design
Copy link

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

@arieh
Copy link
Owner

arieh commented Jun 15, 2010

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?

@arieh
Copy link
Owner

arieh commented Jun 15, 2010

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants