blob: 983d7bee82ccc0b0ec9cd5b0f08c99516bfe775a (
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
|
function showFirstRunWizard(){
$.colorbox({
opacity: 0.7,
transition: 'elastic',
speed: 100,
width: '80%',
height: '80%',
href: OC.generateUrl('/apps/firstrunwizard/wizard'),
onClosed : function() {
$.ajax({
url: OC.generateUrl('/apps/firstrunwizard/wizard'),
type: 'delete'
});
}
});
}
$(document).ready(function() {
$('#showWizard').live('click', function () {
showFirstRunWizard();
});
$('#closeWizard').live('click', function () {
$.colorbox.close();
});
});
|