- fix for previous commit

This commit is contained in:
Max Pozdeev 2009-10-21 11:37:49 +04:00
parent 5f4bf461e7
commit adb082a75b
2 changed files with 2 additions and 1 deletions

View file

@ -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();
}

View file

@ -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};";
}