mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
Removing front end double parsing of socket messages
previously the socket messages were double encoded w/ quotations
This commit is contained in:
parent
af82273948
commit
bc1561fc67
@ -74,9 +74,6 @@ export default
|
||||
// Function called when messages are received on by the UI from
|
||||
// the API over the websocket. This will route each message to
|
||||
// the appropriate controller for the current $state.
|
||||
e.data = e.data.replace(/\\/g, '');
|
||||
e.data = e.data.substr(0, e.data.length-1);
|
||||
e.data = e.data.substr(1);
|
||||
$log.debug('Received From Server: ' + e.data);
|
||||
|
||||
var data = JSON.parse(e.data), str = "";
|
||||
|
Loading…
Reference in New Issue
Block a user