Merge "Bug 94 - SDN and Cloud/Config-Agent account data inconsistent" into v1.0
authorkashalkar <kiran.kashalkar@riftio.com>
Fri, 28 Oct 2016 17:19:43 +0000 (19:19 +0200)
committerGerrit Code Review <root@osm.etsi.org>
Fri, 28 Oct 2016 17:19:43 +0000 (19:19 +0200)
skyquake/framework/widgets/skyquake_container/skyquakeContainerSource.js
skyquake/plugins/composer/src/src/components/EditDescriptorModelProperties.js

index 03bc7ef..49356a4 100644 (file)
@@ -40,6 +40,7 @@ export default {
                         type: 'GET',
                         // beforeSend: Utils.addAuthorizationStub,
                         success: function(data) {
+                            Utils.detectInactivity();
                             resolve(data);
                         }
                     })
index 59d2f95..a2373e6 100644 (file)
@@ -182,7 +182,7 @@ export default function EditDescriptorModelProperties(props) {
                const onFocus = onFocusPropertyFormInputElement.bind(container, property, path, value);
                const placeholder = changeCase.title(property.name);
                const className = ClassNames(property.name + '-input', {'-is-guid': isGuid});
-               const fieldValue = value ? value.constructor.name == "String" ? value : '' : undefined;
+               const fieldValue = value ? (value.constructor.name != "Object") ? value : '' : undefined;
                if (isEnumeration) {
                        const enumeration = Property.getEnumeration(property, value);
                        const options = enumeration.map((d, i) => {