Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/firstrunwizard.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-21 17:41:41 +0300
committerJoas Schilling <coding@schilljs.com>2016-09-21 17:41:41 +0300
commitdceebd887438c91460c5dc6bb05bd5716abd7937 (patch)
tree7aacb5df54174f6319eb59af07f2bb76920bdadf /js/firstrunwizard.js
parent7acaba9c7a8d920f1f29038bd5707e1dbba231b3 (diff)
Add a controller instead of the hacky endpoints
Diffstat (limited to 'js/firstrunwizard.js')
-rw-r--r--js/firstrunwizard.js6
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'
});
}
});