Some small changes
This commit is contained in:
parent
a3cb04013e
commit
1746cba249
|
@ -7,7 +7,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Calendar={
|
Calendar={
|
||||||
space:' ',
|
|
||||||
UI:{
|
UI:{
|
||||||
startEventDialog:function(){
|
startEventDialog:function(){
|
||||||
$('.tipsy').remove();
|
$('.tipsy').remove();
|
||||||
|
@ -271,9 +270,9 @@ Calendar={
|
||||||
|
|
||||||
var url;
|
var url;
|
||||||
if (calendarid == 'new'){
|
if (calendarid == 'new'){
|
||||||
url = "ajax/createcalendar.php";
|
url = OC.filePath('calendar', 'ajax', 'createcalendar.php');
|
||||||
}else{
|
}else{
|
||||||
url = "ajax/updatecalendar.php";
|
url = OC.filePath('calendar', 'ajax', 'updatecalendar.php');
|
||||||
}
|
}
|
||||||
$.post(url, { id: calendarid, name: displayname, active: active, description: description, color: calendarcolor },
|
$.post(url, { id: calendarid, name: displayname, active: active, description: description, color: calendarcolor },
|
||||||
function(data){
|
function(data){
|
||||||
|
|
|
@ -52,13 +52,9 @@ class OC_Updater{
|
||||||
$tmp['url'] = $data->url;
|
$tmp['url'] = $data->url;
|
||||||
$tmp['web'] = $data->web;
|
$tmp['web'] = $data->web;
|
||||||
|
|
||||||
|
|
||||||
return $tmp;
|
return $tmp;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public static function ShowUpdatingHint(){
|
public static function ShowUpdatingHint(){
|
||||||
$data=OC_Updater::check();
|
$data=OC_Updater::check();
|
||||||
if(isset($data['version']) and $data['version']<>'') {
|
if(isset($data['version']) and $data['version']<>'') {
|
||||||
|
@ -67,10 +63,8 @@ class OC_Updater{
|
||||||
$txt='Your ownCloud is up to date';
|
$txt='Your ownCloud is up to date';
|
||||||
}
|
}
|
||||||
return($txt);
|
return($txt);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* do ownCloud update
|
* do ownCloud update
|
||||||
*/
|
*/
|
||||||
|
@ -83,9 +77,5 @@ class OC_Updater{
|
||||||
//update version in config
|
//update version in config
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue