base/app/views/cheesecake/_cheesecake.html.erb in social_stream-0.21.4 vs base/app/views/cheesecake/_cheesecake.html.erb in social_stream-0.22.0
- old
+ new
@@ -71,9 +71,12 @@
if($("#sector_editor").width() > 0){
$("#edit_sector_button").html("<%= escape_javascript image_tag "btn/cheese_edit.png" %>");
$("#sector_editor").data("hide")();
}
};
+ cheese.onSubsectorAdded = function(subsector){
+ $("#sector_editor").data("prepare")(subsector.getCheesecake(),subsector);
+ };
$("#contacts_filter_input").keyup(function(){
cheese.searchEngine.filter($("#contacts_filter_input").val());
//TODO: Make users unfiltered visible again
});
cheese.onChange = function(cheesecake){
\ No newline at end of file