This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
listview('refresh') does not update data-icon #3035
Closed
Description
If you use javascript to change the icon for a listview row, there is no way to refresh the list to cause the new icon to take effect. Calling listview('refresh') will not update the data-icon.
Example:
http://jsfiddle.net/HyL9n/2/
The example will show that listview('refresh') will work to add a new row, and it will work to update the count bubble, but it will not work to change the icon.