$(document).ready(function () { var updateEventSource = new OC.EventSource(OC.webroot+'/core/ajax/update.php'); updateEventSource.listen('success', function(message) { $('').append(message).append('
').appendTo($('.update')); }); updateEventSource.listen('error', function(message) { $('').addClass('error').append(message).append('
').appendTo($('.update')); }); updateEventSource.listen('failure', function(message) { $('').addClass('error').append(message).append('
').appendTo($('.update')); $('') .addClass('error bold') .append('
') .append(t('core', 'The update was unsuccessful. Please report this issue to the ownCloud community.')) .appendTo($('.update')); }); updateEventSource.listen('done', function(message) { $('').addClass('bold').append('
').append(t('core', 'The update was successful. Redirecting you to ownCloud now.')).appendTo($('.update')); setTimeout(function () { window.location.href = OC.webroot; }, 3000); }); });/option> Apache XML Graphics FOP: https://github.com/apache/xmlgraphics-fopwww-data
aboutsummaryrefslogtreecommitdiffstats
blob: c181097946d4505bc9210f9dbd0ef90eff26611d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26