Skip to content

Calling $(x).uls() with new options doesn't update options #34

@bvibber

Description

@bvibber

For the Wikipedia PhoneGap app we need to be able to reinitialize options on the ULS.

In this case we need to update both the 'languages' object with a different set of languages, and the 'onSelect' callback.

Currently I'm attempting to reuse the existing ULS but simply reinit with $.uls().

If this isn't meant to be supported, then I'll need to be able to initialize and then discard the ULS, so I can create a new one safely... is that the right thing to do here?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions