removed console log and added publish back in
This commit is contained in:
parent
db318bbac3
commit
e49456498e
3 changed files with 3 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1 @@
|
|||
node_modules
|
||||
ApiPublishTest.html
|
|
@ -9,6 +9,7 @@
|
|||
margin-bottom: 2px;
|
||||
padding-bottom: 2px;
|
||||
border-bottom: 1px lightgrey solid;
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
.main {
|
||||
|
|
|
@ -119,8 +119,7 @@ document.getElementById('publish-submit').addEventListener('click', function(eve
|
|||
if (this.readyState == 4 ) {
|
||||
if ( this.status == 200) {
|
||||
if (this.response == true) {
|
||||
console.log(true);
|
||||
//uploader.submitFiles(stagedFiles);
|
||||
uploader.submitFiles(stagedFiles);
|
||||
} else {
|
||||
alert("That name has already been claimed by spee.ch. Please choose a different name.");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue