mirror of https://github.com/zulip/zulip.git
8ea3bfb927
The todo_widget was using the using a counter to store the key value of every task. This would cause assiging multiple tasks the same key value in a race condition. To avoid this we make "sender_id" a part of the key along with the counter. Also the `key` now not being a integer value, we can't use it to find the index of the task using it. Thus, a function is made that will find the index of task whose key is sent by the user to strike. |
||
---|---|---|
.. | ||
poll_widget.hbs | ||
poll_widget_results.hbs | ||
tictactoe_widget.hbs | ||
todo_widget.hbs | ||
todo_widget_tasks.hbs | ||
zform_choices.hbs |