Blame view

sources/apps/firstrunwizard/js/firstrunwizard.js 547 Bytes
d1bafeea1   Kload   [fix] Upgrade to ...
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
27
28
29
  function showfirstrunwizard(){
  	$.colorbox({
  		opacity:0.4, 
  		transition:"elastic", 
  		speed:100, 
  		width:"70%", 
  		height:"70%", 
  		href: OC.filePath('firstrunwizard', '', 'wizard.php'),
  		onComplete : function(){
  			if (!SVGSupport()) {
  				replaceSVG();
  			}
  		},
  		onClosed : function(){
  			$.ajax({
  			url: OC.filePath('firstrunwizard', 'ajax', 'disable.php'),
  			data: ""
  			});
  		}  
  	});
  }
  
  $('#showWizard').live('click', function () {	
  	showfirstrunwizard();
  });
  
  $('#closeWizard').live('click', function () {	
  		$.colorbox.close();
  });