Github user sjcorbett commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/949#discussion_r42053249
--- Diff:
usage/jsgui/src/main/webapp/assets/js/view/application-add-wizard.js ---
@@ -777,14 +777,22 @@ define([
}
},
getConfigMap:function() {
- var map = {}
+ var that = this;
+ var map = {};
$('.app-add-wizard-config-entry').each( function (index,elt) {
map[$('#key',elt).val()] =
$('#checkboxValue',elt).length ?
$('#checkboxValue',elt).is(':checked') :
- $('#value',elt).val()
+ that.getConvertedConfigValue($('#value',elt).val())
--- End diff --
Suggest hoisting `getConvertedConfigValue` out of this view to be a
separate function.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---