diff options
author | Joas Schilling <coding@schilljs.com> | 2016-09-21 17:41:41 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-09-21 17:41:41 +0300 |
commit | dceebd887438c91460c5dc6bb05bd5716abd7937 (patch) | |
tree | 7aacb5df54174f6319eb59af07f2bb76920bdadf /js/firstrunwizard.js | |
parent | 7acaba9c7a8d920f1f29038bd5707e1dbba231b3 (diff) |
Add a controller instead of the hacky endpoints
Diffstat (limited to 'js/firstrunwizard.js')
-rw-r--r-- | js/firstrunwizard.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/firstrunwizard.js b/js/firstrunwizard.js index b864318b..339c8020 100644 --- a/js/firstrunwizard.js +++ b/js/firstrunwizard.js @@ -5,11 +5,11 @@ function showfirstrunwizard(){ speed: 100, width: '80%', height: '80%', - href: OC.filePath('firstrunwizard', '', 'wizard.php'), + href: OC.generateUrl('/apps/firstrunwizard/wizard'), onClosed : function(){ $.ajax({ - url: OC.filePath('firstrunwizard', 'ajax', 'disable.php'), - data: "" + url: OC.generateUrl('/apps/firstrunwizard/wizard'), + type: 'delete' }); } }); |