app/assets/javascripts/pagelet_rails.js in pagelet_rails-0.2.0 vs app/assets/javascripts/pagelet_rails.js in pagelet_rails-0.2.1
- old
+ new
@@ -114,10 +114,10 @@
root.pageletArrived = function(id, content, tags) {
root.placeToContainer(id, content);
root.processDataRemoteTags();
root.tagsChanged(id, tags);
- $(document).trigger('pagelet-loaded');
+ $(document).trigger('pagelet-loaded', [id, tags, content]);
};
root.placeToContainer = function(id, content) {
$('#' + id).replaceWith(content);
};