SpacePort:fix: остатки прошлого наименования
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
var ContentModule = React.createClass({
|
||||
requestServerList: function() {
|
||||
var _this = this;
|
||||
fetch('/mcsmanager/servers.json')
|
||||
fetch('/spaceport/servers.json')
|
||||
.then(function(response) {
|
||||
response.json().then(function(data) {
|
||||
console.debug(data);
|
||||
@@ -21,7 +21,7 @@ var ContentModule = React.createClass({
|
||||
},
|
||||
clickServerListItem: function(title) {
|
||||
var _this = this;
|
||||
fetch('/mcsmanager/servers.json?clientid='+title)
|
||||
fetch('/spaceport/servers.json?clientid='+title)
|
||||
.then(function(response){
|
||||
response.json().then(function(data){
|
||||
console.debug(data);
|
||||
@@ -43,7 +43,7 @@ var ContentModule = React.createClass({
|
||||
componentWillMount: function(){
|
||||
var _this = this;
|
||||
|
||||
loadScript("/mcsmanager/components.js",
|
||||
loadScript("/spaceport/components.js",
|
||||
function(){ _this.setState({nvScriptReady: _this.state.nvScriptReady+1}); console.debug('components - ok'); },
|
||||
function(){ _this.setState({nvScriptReady: -5}); console.debug('components - error'); }
|
||||
);
|
||||
@@ -60,12 +60,12 @@ var ContentModule = React.createClass({
|
||||
function(){ _this.setState({nvScriptReady: -5}); console.error('d3 - error'); }
|
||||
);
|
||||
|
||||
loadScript("/mcsmanager/ansi_up.js",
|
||||
loadScript("/spaceport/ansi_up.js",
|
||||
function(){ console.debug('ansi_up - ok'); },
|
||||
function(){ console.debug('ansi_up - error'); }
|
||||
);
|
||||
|
||||
loadStyle("/mcsmanager/moduleStyle.css");
|
||||
loadStyle("/spaceport/moduleStyle.css");
|
||||
|
||||
this.requestServerList();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user