diff options
Diffstat (limited to 'install/static/service.js')
-rw-r--r-- | install/static/service.js | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/install/static/service.js b/install/static/service.js index 467e56a8..852415ff 100644 --- a/install/static/service.js +++ b/install/static/service.js @@ -55,22 +55,19 @@ function ServiceForms() { ); this.addProperties = [ - {title: 'Principal', id: 'pkey', type: 'text'} + {title: 'Service', id: 'service', type: 'text'}, + {title: 'Host Name', id: 'host', type: 'text'} ]; - this.addOptionsFunction = function() { - var options = { - name: $('#pkey').val() - }; - return options; - }; - this.add = new EntityBuilder( "service", - this.addProperties, - this.addOptionsFunction + this.addProperties ); + this.add.getPKey = function() { + return $("#service").val()+"/"+$("#host").val(); + } + this.searchColumns = [ { title: "Service", |