mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
- fix for previous commit
This commit is contained in:
parent
5f4bf461e7
commit
adb082a75b
2 changed files with 2 additions and 1 deletions
|
|
@ -533,7 +533,7 @@ function getRecursParent(el, needle, level)
|
|||
|
||||
function cancelTagFilter(dontLoadTasks)
|
||||
{
|
||||
$('#tagcloudbtn>.btnstr').text($('#tagcloudbtn').attr('title'));
|
||||
$('#tagcloudbtn>.btnstr').text(lang.tags);
|
||||
filter.tag = '';
|
||||
if(dontLoadTasks==null || !dontLoadTasks) loadTasks();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -100,6 +100,7 @@ class DefaultLang
|
|||
$t = array();
|
||||
foreach($this->get('months_long') as $v) { $t[] = '"'.str_replace('"','\\"',$v).'"'; }
|
||||
$a[] = "monthsLong: [". implode(',', $t). "]";
|
||||
$a[] = "tags: \"". str_replace('"','\\"',$this->get('tags')). "\"";
|
||||
return "lang = {\n". implode(",\n", $a). "\n};";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue