From 977bb59bb5d9134ca0e47282a50f2242cdcb41a9 Mon Sep 17 00:00:00 2001 From: James Strachan Date: Wed, 24 Apr 2013 09:16:30 +0100 Subject: [PATCH] add an empty header UI by default for sending messages for #5 --- hawtio-web/src/main/webapp/app/camel/js/send.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hawtio-web/src/main/webapp/app/camel/js/send.ts b/hawtio-web/src/main/webapp/app/camel/js/send.ts index 20dd5ad346..52c252a349 100644 --- a/hawtio-web/src/main/webapp/app/camel/js/send.ts +++ b/hawtio-web/src/main/webapp/app/camel/js/send.ts @@ -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); };