Created
December 26, 2013 14:44
-
-
Save FelixAkk/8134623 to your computer and use it in GitHub Desktop.
Expanding all subcomments on a FeedbackFruits Dialog page using Javascript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 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