Skip to content

Instantly share code, notes, and snippets.

@FelixAkk
Created December 26, 2013 14:44
Show Gist options
  • Select an option

  • Save FelixAkk/8134623 to your computer and use it in GitHub Desktop.

Select an option

Save FelixAkk/8134623 to your computer and use it in GitHub Desktop.
Expanding all subcomments on a FeedbackFruits Dialog page using Javascript
// in CoffeeScript: (install Acebug to run CoffeeScript in Firefox developers console)
// for cid, topic of FFApp.window.view.childView.comments.childs
// topic.initializeSubcomments()
// topic.$(".comments, .sub.comment_form").show()
for(var cid in FFApp.window.view.childView.comments.childs){
topic = FFApp.window.view.childView.comments.childs[cid];
topic.initializeSubcomments();
topic.$(".comments, .sub.comment_form").show();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment