removed console log and added publish back in

This commit is contained in:
bill bittner 2017-07-03 19:25:58 -07:00
parent db318bbac3
commit e49456498e
3 changed files with 3 additions and 4 deletions

3
.gitignore vendored
View file

@ -1,2 +1 @@
node_modules node_modules
ApiPublishTest.html

View file

@ -9,6 +9,7 @@
margin-bottom: 2px; margin-bottom: 2px;
padding-bottom: 2px; padding-bottom: 2px;
border-bottom: 1px lightgrey solid; border-bottom: 1px lightgrey solid;
margin-top: 2em;
} }
.main { .main {

View file

@ -119,8 +119,7 @@ document.getElementById('publish-submit').addEventListener('click', function(eve
if (this.readyState == 4 ) { if (this.readyState == 4 ) {
if ( this.status == 200) { if ( this.status == 200) {
if (this.response == true) { if (this.response == true) {
console.log(true); uploader.submitFiles(stagedFiles);
//uploader.submitFiles(stagedFiles);
} else { } else {
alert("That name has already been claimed by spee.ch. Please choose a different name."); alert("That name has already been claimed by spee.ch. Please choose a different name.");
} }