diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-01-30 17:25:39 +0400 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-01-30 17:25:39 +0400 |
commit | 99ad8a1191736faae03f25e7894f715f98b9cdee (patch) | |
tree | 354907d7729620db1de87e2bf9bcc831f3ebddf8 /js/firstrunwizard.js |
removed all data but folder to move
Diffstat (limited to 'js/firstrunwizard.js')
-rw-r--r-- | js/firstrunwizard.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/js/firstrunwizard.js b/js/firstrunwizard.js new file mode 100644 index 00000000..b73ac448 --- /dev/null +++ b/js/firstrunwizard.js @@ -0,0 +1,25 @@ +function showfirstrunwizard(){ + $.colorbox({ + opacity:0.4, + transition:"elastic", + speed:100, + width:"70%", + height:"70%", + href: OC.filePath('firstrunwizard', '', 'wizard.php'), + onClosed : function(){ + + $.ajax({ + url: OC.filePath('firstrunwizard', 'ajax', 'disable.php'), + data: "" + }); + } + }); +} + +$('#showWizard').live('click', function () { + showfirstrunwizard(); +}); + +$('#closeWizard').live('click', function () { + $.colorbox.close(); +});
\ No newline at end of file |