thread
Contains utility functions for dealing with threads.
Methods:
selectDirect Link
select
( board_id, callback, [options] )Loads a thread selection list in a dialog and calls a return function on finish.
Note: Only admins will be able to access this function.
Note: Only admins will be able to access this function.
Parameters
-
board_id
Number
The ID of the board from which to generate the dialog.
-
callback
Function
Function to call when a thread has been selected. The first argument is the thread ID.
-
[options]
Object
Optional
Additional options:
-
[remember]
Boolean
Optional
If present, a checkbox asking to remember the user's selection will appear at the bottom of the dialog, by the button(s). If this value evaluates to true, the checkbox will be initially checked. If false, it will be unchecked. The checked status will then be passed along to the callback function.
-
[remember]
Boolean
Optional