projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BUG-410 -- update RIFT platform
[osm/UI.git]
/
skyquake
/
plugins
/
launchpad
/
src
/
launchpadFleetSource.js
diff --git
a/skyquake/plugins/launchpad/src/launchpadFleetSource.js
b/skyquake/plugins/launchpad/src/launchpadFleetSource.js
index
dac8a82
..
9f72147
100644
(file)
--- a/
skyquake/plugins/launchpad/src/launchpadFleetSource.js
+++ b/
skyquake/plugins/launchpad/src/launchpadFleetSource.js
@@
-1,5
+1,5
@@
/*
/*
- *
+ *
* Copyright 2016 RIFT.IO Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Copyright 2016 RIFT.IO Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-86,7
+86,7
@@
module.exports = function(Alt) {
console.log(id)
return new Promise(function(resolve, reject) {
$.ajax({
console.log(id)
return new Promise(function(resolve, reject) {
$.ajax({
- url: 'api/nsr/' +
id
+ '?api_server=' + API_SERVER,
+ url: 'api/nsr/' +
encodeURIComponent(id)
+ '?api_server=' + API_SERVER,
type: 'DELETE',
beforeSend: Utils.addAuthorizationStub,
success: function(data) {
type: 'DELETE',
beforeSend: Utils.addAuthorizationStub,
success: function(data) {
@@
-106,7
+106,7
@@
module.exports = function(Alt) {
return resolve(false);
}
$.ajax({
return resolve(false);
}
$.ajax({
- url: '/socket-polling
?api_server=' + API_SERVER
,
+ url: '/socket-polling
'
,
type: 'POST',
beforeSend: Utils.addAuthorizationStub,
data: {
type: 'POST',
beforeSend: Utils.addAuthorizationStub,
data: {
@@
-129,7
+129,7
@@
module.exports = function(Alt) {
remote: function(state, id, status) {
return new Promise(function(resolve, reject) {
$.ajax({
remote: function(state, id, status) {
return new Promise(function(resolve, reject) {
$.ajax({
- url: 'api/nsr/' +
id
+ '/admin-status?api_server=' + API_SERVER ,
+ url: 'api/nsr/' +
encodeURIComponent(id)
+ '/admin-status?api_server=' + API_SERVER ,
type:'PUT',
beforeSend: Utils.addAuthorizationStub,
data: {
type:'PUT',
beforeSend: Utils.addAuthorizationStub,
data: {