Изменение внутреннего строения веб апи
This commit is contained in:
@@ -34,7 +34,7 @@ var BundleTableRow = React.createClass({
|
||||
},
|
||||
bndUpd: function() {
|
||||
var _this = this;
|
||||
fetch('/ajax/bundles.json?id='+this.props.id+'&act=upd')
|
||||
fetch('/modules/ajax/bundles.json?id='+this.props.id+'&act=upd')
|
||||
.then(function(resp){
|
||||
resp.json().then(function(data){
|
||||
_this.setState({
|
||||
@@ -74,7 +74,7 @@ var ContentModule = React.createClass({
|
||||
}},
|
||||
requestBundleList: function() {
|
||||
var _this = this;
|
||||
fetch('/ajax/bundles.json')
|
||||
fetch('/modules/ajax/bundles.json')
|
||||
.then(function(response){
|
||||
response.json().then(function(data){
|
||||
console.debug(data);
|
||||
|
||||
Reference in New Issue
Block a user