Calendar: js fix
This commit is contained in:
parent
c8c105df33
commit
2b2da6fe35
|
@ -53,7 +53,7 @@ $(document).ready(function(){
|
||||||
});
|
});
|
||||||
function calendarcachecheck(){
|
function calendarcachecheck(){
|
||||||
$.getJSON(OC.filePath('calendar', 'ajax/cache', 'status.php'), function(jsondata, status) {
|
$.getJSON(OC.filePath('calendar', 'ajax/cache', 'status.php'), function(jsondata, status) {
|
||||||
$('#cleancalendarcache').attr('title', jsondata.l10n);
|
$('#cleancalendarcache').attr('title', jsondata.l10n.text);
|
||||||
if(jsondata.status == 'success'){
|
if(jsondata.status == 'success'){
|
||||||
$('#cleancalendarcache').css('background', '#90EE90');
|
$('#cleancalendarcache').css('background', '#90EE90');
|
||||||
$('#cleancalendarcache').css('color', '#333');
|
$('#cleancalendarcache').css('color', '#333');
|
||||||
|
|
Loading…
Reference in New Issue