* fix hash code ‘#todo-id’ not work.
This commit is contained in:
@@ -13,7 +13,7 @@ $(function()
|
||||
if(hash.indexOf('#todo-') === 0)
|
||||
{
|
||||
var todoId = hash.substr(6);
|
||||
var url = createLink('todo', 'view', 'id=' + todoId + '&from=my&onlybody=yes');
|
||||
var url = createLink('todo', 'view', 'id=' + todoId + '&from=my', '', 'yes');
|
||||
var $a = $('<a/>');
|
||||
$a.attr({href: url}).modalTrigger(
|
||||
{
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user