Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 807418 - trigger change event for each click on the select option #6581

Merged

Conversation

RudyLu
Copy link
Contributor

@RudyLu RudyLu commented Nov 22, 2012

value selector behavior change for,
Bug 807418 - [Clock] No way to preview an alarm tone

@@ -53,6 +53,9 @@ var ValueSelector = {
case 'datetime-local':
// TODO
break;
case 'blur':
self.hide();
break;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is not related right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I'm not against it, just trying to understand)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, this is added to test another issue for "select based navigation".
Take MDN as an example,
https://developer.mozilla.org/en-US/

we have a element at the bottom of the page for language selection. If we select one of the languages with Gaia value selector, since the change would be triggered and cause the browser to reload. We would find that we could not receive a blur event to hide the value selector.

@RudyLu
Copy link
Contributor Author

RudyLu commented Nov 28, 2012

Merge this with r=Vivien, a=blocking-basecamp.

RudyLu added a commit that referenced this pull request Nov 28, 2012
…achClick

Bug 807418 - trigger change event for each click on the select option
@RudyLu RudyLu merged commit 47063a3 into mozilla-b2g:master Nov 28, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants