Changeset 111
- Timestamp:
- 15-01-2008 21:31:57 (12 months ago)
- Author:
- s0undt3ch
- Message:
-
Don't use # on href's to be used by ajax, use javascript:; instead.
Default the id of the list action to 1, not None, no need for 2 diferent caches for the same results.
- Location:
- trunk/pastie
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r108
|
r111
|
|
| 21 | 21 | map.connect('xmlrpc', '/RPC2/:action/:id', controller='xmlrpc') |
| 22 | 22 | # map.connect('xmlrpc', '/xmlrpc/', controller='xmlrpc', action='index') |
| 23 | | map.connect('list', '/list/:id', controller='pasties', action='list') |
| | 23 | map.connect('list', '/list/:id', controller='pasties', action='list', id=1) |
| 24 | 24 | map.connect('pastetag', '/tag/:id/:page', |
| 25 | 25 | controller='pastetags', action='show', id=None, page=1) |
-
|
r35
|
r111
|
|
| 35 | 35 | <a href="${h.url_for('newpaste', id=c.paste.id)}">Reply To Paste</a> |
| 36 | 36 | </li> |
| 37 | | <li style="display:none;"><a class="toggle_linenumbers" href="#">Toggle Line Numbers</a></li> |
| | 37 | <li style="display:none;"><a class="toggle_linenumbers" |
| | 38 | href="javascript:;">Toggle Line Numbers</a></li> |
| 38 | 39 | </ul></div> |
| 39 | 40 | ${h.code_highlight(c.paste)} |
Download in other formats:
|
|