Excellent. Keep all items in one list, or multiple lists for really busy people. I like the minimize to compact mode. Can that be made so that the maxized and minimized versions align right rather than align left? The natural place for the widget is to sit at the end of my page bar, looking like just a special tab.
It is possible to enter bad strings that will break the widget. Your "safe" function which is supposed to remove HTML injections will only reduce the first instance of '&','<' and '>'. Later instances will be left untouched. As an example, enter for one of the to-do items the string: <><sub>asdasdf.
Unfortunately, I have a wish, too.
Entering notes to the tasks would be perfect, if it isn't too much trouble.
By dafalias , # Jul 20, 2006 2:27:15 PM
By Pesala , # Jul 19, 2006 12:05:14 PM
By Ramunas , # Jul 18, 2006 9:34:14 PM
By padule , # Jul 17, 2006 4:28:23 PM
Your "safe" function which is supposed to remove HTML injections will only reduce the first instance of '&','<' and '>'. Later instances will be left untouched. As an example, enter for one of the to-do items the string: <><sub>asdasdf.
To fix this bug you can use this function:
function safe (str) { str = str.replace(/&/g, '&amp;'); str = str.replace(/</g, '&lt;'); str = str.replace(/>/g, '&gt;'); return str; }By Benjamin Joffe , # Jul 17, 2006 4:21:28 PM
looks really nice. And yeahhh, a multiple computer synchronization would be quite perfect - that's what I have ever looked for :-)
cu.
By Schwenx , # Jul 17, 2006 3:49:26 PM
add priorities and it will be nearly perfect.
also, i would make tasks little smaller in height.
By padule , # Jul 17, 2006 10:03:41 AM