Skip to content

Commit

Permalink
add an empty header UI by default for sending messages for #5
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrachan committed Apr 24, 2013
1 parent af53fd3 commit 977bb59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hawtio-web/src/main/webapp/app/camel/js/send.ts
Expand Up @@ -24,6 +24,9 @@ module Camel {
$scope.headers.push({name: "", value: ""});
};

// lets add a default header
$scope.addHeader();

$scope.removeHeader = (header) => {
$scope.headers = $scope.headers.remove(header);
};
Expand Down

0 comments on commit 977bb59

Please sign in to comment.