Skip to content

Commit

Permalink
add an auto-focus on the broker name - and added smart completion on …
Browse files Browse the repository at this point in the history
…the network names
  • Loading branch information
jstrachan committed Oct 9, 2013
1 parent d5dbc9e commit 290507b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hawtio-web/src/main/webapp/app/fabric/js/createBroker.ts
Expand Up @@ -58,8 +58,8 @@ module Fabric {

Core.pathSet(schema.properties, ['brokerName', 'required'], true);
Core.pathSet(schema.properties, ['brokerName', 'tooltip'], 'The name of the broker.');
Core.pathSet(schema.properties, ['brokerName', 'input-attributes', 'autofocus'], 'true');

Core.pathSet(schema.properties, ['profile', 'tooltip'], 'The name of the profile for this broker. If left blank it will be created from the group and broker names.');
Core.pathSet(schema.properties, ['profile', 'input-attributes', 'typeahead'], 'title for title in profiles | filter:$viewValue');
Core.pathSet(schema.properties, ['profile', 'input-attributes', 'typeahead-editable'], 'true');

Expand All @@ -83,6 +83,8 @@ module Fabric {
Core.pathSet(schema.properties, ['minimumInstances', 'input-attributes', "placeholder"], "{{" + isStandalone + " ? 1 : 2}}");

Core.pathSet(schema.properties, ['networksPassword', 'type'], 'password');
Core.pathSet(schema.properties, ['networks', 'items', 'input-attributes', 'typeahead'], 'title for title in groups | filter:$viewValue');
Core.pathSet(schema.properties, ['networks', 'items', 'input-attributes', 'typeahead-editable'], 'true');

schema['tabs'] = {
'Default': ['group', 'brokerName', 'kind', 'profile', 'parentProfile', 'data', 'configUrl', 'replicas', 'minimumInstances', 'networks'],
Expand Down

0 comments on commit 290507b

Please sign in to comment.