diff --git a/js/controllers/website-controller.js b/js/controllers/website-controller.js index 5f14e9e..1dbd7bf 100644 --- a/js/controllers/website-controller.js +++ b/js/controllers/website-controller.js @@ -297,7 +297,6 @@ app.controller('websiteCtrl', [ return; } */ - debugger; if (!vm.newFile) { window.alert('No file chosen.'); return; @@ -336,7 +335,6 @@ app.controller('websiteCtrl', [ // We're claiming it at the top level (i.e. example.com) // but we could also claim it at the subdomain level (needs UI update) var domainReq = { sld: sld, tld: tld, sub: sub }; - debugger; return pkg.request(domainReq).then(function (result) { var sess; var prom; @@ -357,7 +355,7 @@ app.controller('websiteCtrl', [ prom = Auth.get(sess).then(function (oauth3) { sub = result.data.prefix; if (result.data.sub) { - sub = result.data.sub + '.' + result.data.prefix; + sub += '.' + result.data.sub; } return oauth3.api('dns.set', { sld: sld, tld: tld, sub: sub, type: 'TXT', ttl: 5, value: result.data.challenge }); }); @@ -452,7 +450,6 @@ app.controller('websiteCtrl', [ sub: r.sub, path: vm.cleanedPath }).then(function (result) { - debugger; vm.folderStructure = result; }); }; diff --git a/js/www@daplie.com.js b/js/www@daplie.com.js index a554280..a71fc24 100644 --- a/js/www@daplie.com.js +++ b/js/www@daplie.com.js @@ -49,7 +49,6 @@ OAUTH3._pkgs['www@daplie.com'] = { , removeShare: function (opts) { var providerUri = opts.audience; var session = opts.session; - debugger; // TODO needs a way to have api and assets for audience return OAUTH3.request({ @@ -116,7 +115,6 @@ OAUTH3._pkgs['www@daplie.com'] = { , archive: function (opts) { var providerUri = opts.audience; var session = opts.session; - debugger; return OAUTH3.request({ method: 'POST' , url: OAUTH3.url.normalize(providerUri) @@ -144,7 +142,6 @@ OAUTH3._pkgs['www@daplie.com'] = { , contentRange: function (opts) { var providerUri = opts.audience; var session = opts.session; - debugger; return OAUTH3.request({ method: 'GET' @@ -154,14 +151,12 @@ OAUTH3._pkgs['www@daplie.com'] = { , offset: opts.offset, length: opts.length, json: true }) , session: session }).then(function (result) { - debugger; return result; }); } , remove: function (opts) { var providerUri = opts.audience; var session = opts.session; - debugger; return OAUTH3.request({ method: 'DELETE' diff --git a/templates/widgets/filetree.html b/templates/widgets/filetree.html index cdb6eb1..d3106e5 100644 --- a/templates/widgets/filetree.html +++ b/templates/widgets/filetree.html @@ -39,6 +39,8 @@
+
+