File upload + Rest API

This commit is contained in:
Maurizio Vitale
2016-04-07 11:10:56 +01:00
parent 76ed54fd7a
commit af8e563659
9 changed files with 644 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ var CommentBox = React.createClass({
displayName: 'CommentBox',
getInitialState: function () {
return { accept: 'image/*', action: 'target.php', droppable: '' };
return { accept: 'image/*', action: 'http://192.168.99.100:8080/alfresco/service/api/upload', droppable: '' };
},
onChangeAccept: function (e) {