Github user tbouron commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/865#discussion_r39827764
--- Diff:
usage/jsgui/src/main/webapp/assets/js/view/application-add-wizard.js ---
@@ -591,10 +607,14 @@ define([
return true
}
} else if (tabName=='#yamlTab') {
- this.model.yaml = this.$("#yaml_code").val();
- if (this.model.yaml) {
- return true;
- }
+ if (self.editor && self.editor) {
+ this.model.yaml = self.editor.getValue();
+ if (this.model.yaml) {
+ return true;
+ }
+ } else {
+ console.info("No text in the editor!");
+ }
--- End diff --
This block has a wrong indentation.
---
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.
---