Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
#736 fixed refactoring bug so the WSDL viewer is working again - whoo…
…ps ;)
  • Loading branch information
jstrachan committed Nov 26, 2013
1 parent 17c3548 commit 6a56838
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion hawtio-web/src/main/webapp/app/api/js/apiHelpers.ts
Expand Up @@ -45,7 +45,6 @@ module API {

export function initScope($scope, $location, jolokia) {
var search = $location.search();
$scope.url = search["wadl"];
$scope.container = search["container"];
$scope.objectName = search["objectName"];

Expand Down
1 change: 1 addition & 0 deletions hawtio-web/src/main/webapp/app/api/js/wadl.ts
Expand Up @@ -4,6 +4,7 @@ module API {

API.initScope($scope, $location, jolokia);

$scope.url = $location.search()["wadl"];
loadXml($scope.url, onWsdl);

function onWsdl(response) {
Expand Down
5 changes: 3 additions & 2 deletions hawtio-web/src/main/webapp/app/api/js/wsdl.ts
Expand Up @@ -2,11 +2,12 @@ module API {

export function WsdlViewController($scope, $location, jolokia) {

API.initScope($scope, $location, jolokia);

var log:Logging.Logger = Logger.get("API");

API.initScope($scope, $location, jolokia);
var wsdlNamespace = "http://schemas.xmlsoap.org/wsdl/";

$scope.url = $location.search()["wsdl"];
loadXml($scope.url, onWsdl);

function onWsdl(response) {
Expand Down

0 comments on commit 6a56838

Please sign in to comment.