web app, updated emane config api to be a general config api

This commit is contained in:
Blake J. Harnden 2018-05-18 08:20:04 -07:00
parent a55cd6a524
commit c90ee5fc84
3 changed files with 28 additions and 26 deletions

View file

@ -96,7 +96,7 @@ class ConfigModel {
const nodeId = this.$nodeEditModal.data('node');
this.$modal.data('type', 'emane');
this.$title.text('EMANE Options');
const config = await this.coreRest.getEmaneOptions(nodeId);
const config = await this.coreRest.getConfig({node: nodeId, name: 'emane'});
console.log('emane options clicked: ', config);
this.$tabHeaders.html('');
this.$tabContent.html('');