/lib/Socket.js removed disconnect code

Removing some code for attempting to disconnect a socket. we found a work around from this and are no longer using this
This commit is contained in:
Jared Tabor
2014-10-30 15:36:27 -04:00
parent 73e1c0236d
commit 213f6d2af1
11 changed files with 287 additions and 46 deletions

View File

@@ -760,7 +760,7 @@ function($location, Wait, GetBasePath, LookUpInit, JobTemplateForm, CredentialLi
}
scope.removePlaybookLaunchFinished = scope.$on('PlaybookLaunchFinished', function(e, data) {
//var base = $location.path().replace(/^\//, '').split('/')[0];
if(scope.portalMode===false){
if(scope.portalMode===false || scope.$parent.portalMode===false){
$location.path('/jobs/' + data.job);
}