Permalink
Browse files

Renamed the custom event I added to fix #2348 from "contentmodified" …

…to "updatelayout" so that it reflects more of what it should be used for. Note that this also affects #2042 and the mention of collapsible in #2596.
  • Loading branch information...
jblas committed Oct 19, 2011
1 parent be59c77 commit 3130b52b3f22f5923d7494665bf65c5ba5a80f81
Showing with 3 additions and 3 deletions.
  1. +1 −1 js/jquery.mobile.collapsible.js
  2. +1 −1 js/jquery.mobile.fixHeaderFooter.js
  3. +1 −1 js/jquery.mobile.listview.js
@@ -135,7 +135,7 @@ $.widget( "mobile.collapsible", $.mobile.widget, {
.toggleClass( "ui-corner-bottom", isCollapse );
collapsibleContent.toggleClass( "ui-corner-bottom", !isCollapse );
}
- collapsibleContent.trigger( "contentmodified" );
+ collapsibleContent.trigger( "updatelayout" );
}
})
.trigger( o.collapsed ? "collapse" : "expand" );
@@ -148,7 +148,7 @@ $.mobile.fixedToolbars = (function() {
stateBefore = null;
});
- $window.bind( "resize contentmodified", showEventCallback );
+ $window.bind( "resize updatelayout", showEventCallback );
});
// 1. Before page is shown, check for duplicate footer
@@ -107,7 +107,7 @@ $.widget( "mobile.listview", $.mobile.widget, {
.addClass( "ui-corner-bl" );
}
if ( !create ) {
- this.element.trigger( "contentmodified" );
+ this.element.trigger( "updatelayout" );
}
},

0 comments on commit 3130b52

Please sign in to comment.