Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Collapsible set: Changed the refresh function so it first removes dat…

…a object "collapsible-last" for each item before setting it on the last one. Fixes #4645 - collapsible-last not reset during a refresh. [1.1.2.]
  • Loading branch information...
commit 127ef523b0572c1da59701e3a406a3669eaa8835 1 parent 9d09354
@jaspermdegroot jaspermdegroot authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  js/widgets/collapsibleSet.js
View
3  js/widgets/collapsibleSet.js
@@ -79,7 +79,8 @@ $.widget( "mobile.collapsibleset", $.mobile.widget, {
// clean up borders
collapsiblesInSet.each( function() {
- $( this ).find( $.mobile.collapsible.prototype.options.heading )
+ $( this ).jqmRemoveData( "collapsible-last" )
+ .find( $.mobile.collapsible.prototype.options.heading )
.find( "a" ).first()
.removeClass( "ui-corner-top ui-corner-bottom" )
.find( ".ui-btn-inner" )
Please sign in to comment.
Something went wrong with that request. Please try again.