Commit c6427258a08fbc46a3c23c0dc1c2981a045c2c43
- Diff rendering mode:
- inline
- side by side
twotwodo.js
(2 / 7)
|   | |||
| 130 | 130 | TwoTwoDo.task.switchState($(this).attr('id')); | |
| 131 | 131 | return false; | |
| 132 | 132 | }); | |
| 133 | // $('#tasks a, #memo a').unbind('click') | ||
| 134 | // .click(function(){ | ||
| 135 | // $('p.task input').blur(); | ||
| 136 | // $('#memo textarea').blur(); | ||
| 137 | // }); | ||
| 138 | 133 | }; | |
| 139 | 134 | ||
| 140 | 135 | TwoTwoDo.utils.changeCookie = function (cookie) { | |
| … | … | ||
| 169 | 169 | }, | |
| 170 | 170 | cur_memo: 'memo', | |
| 171 | 171 | memo: { | |
| 172 | 'memo': 'This is the MemoWiki entry for the \'memo\' hashtag :-).<br /><br />Like tasks, memos can contains state markers, hashtag links to other memo, &-links to other TwoTwoDo and links are automatically created for any url beginning with http://.<br />If you want to remove a memo you just have to delete all it\'s content (like for tasks).<br />The &<span class="cookie">default</span> TwoTwoDo and the #<span class="memowiki">memo</span> MemoWiki entry will always exists so they are reseted to their default values instead of being removed.<br />For any comments or suggestions: <a href="http://soap.coders.fm/">http://soap.coders.fm/</a>.<br /><br />Write #<span class="memowiki">quick-bookmarks</span> memo? [<span class="state todo" id="memo-state-0">:todo</span>]<br />Start a new TwoTwoDo for your &<span class="cookie">work</span>? [<span class="state canceled" id="memo-state-0">:canceled</span>]' | ||
| 172 | 'memo': 'This is the MemoWiki entry for the \'memo\' hashtag :-).<br /><br />Like tasks, memos can contains state markers, hashtag links to other memo, &-links to other TwoTwoDo and links are automatically created for any url beginning with http://.<br />If you want to remove a memo you just have to delete all it\'s content (like for tasks).<br />The &<span class="cookie">default</span> TwoTwoDo and the #<span class="memowiki">memo</span> MemoWiki entry will always exists so they are reseted to their default values instead of being removed.<br />For any comments or suggestions: <a href="http://soap.coders.fm/">http://soap.coders.fm/</a> (use right-click to open links with your browser\'s context menu).<br /><br />Write #<span class="memowiki">quick-bookmarks</span> memo? [<span class="state todo" id="memo-state-0">:todo</span>]<br />Start a new TwoTwoDo for your &<span class="cookie">work</span>? [<span class="state canceled" id="memo-state-1">:canceled</span>]' | ||
| 173 | 173 | } | |
| 174 | 174 | }; | |
| 175 | 175 | ||
| … | … | ||
| 323 | 323 | ||
| 324 | 324 | $('#memo').unbind('click') | |
| 325 | 325 | .addClass('edit') | |
| 326 | .html('<textarea name="'+TwoTwoDo.data.cur_memo+'">'+memo+'</textarea>'); | ||
| 326 | .html('<textarea name="'+TwoTwoDo.data.cur_memo+'" rows="4242">'+memo+'</textarea>'); | ||
| 327 | 327 | TwoTwoDo.memo.resizeTextarea(); | |
| 328 | 328 | $('#memo textarea').focus() | |
| 329 | 329 | .blur(function(){ |

