diff --git a/package.json b/package.json index 9cf8d51..d33ac29 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "CacheClassExplorer", - "version": "1.21.2", + "version": "1.21.3", "description": "Class Explorer for InterSystems Caché", "directories": { "test": "test" diff --git a/src/web/js/ClassView.js b/src/web/js/ClassView.js index 404c317..3ee0c19 100644 --- a/src/web/js/ClassView.js +++ b/src/web/js/ClassView.js @@ -303,6 +303,10 @@ ClassView.prototype.getPropertyHoverText = function (prop, type) { }, propText = { "Calculated": 1, + "Collection": function (data) { + return "Collection=" + + data + }, "Final": 1, "Identity": 1, "InitialExpression": function (data) { @@ -510,7 +514,11 @@ ClassView.prototype.createClassInstance = function (name, classMetaData, saved) keyWordsArray.push(n); arr.push({ name: n, - text: n + (ps[n]["Type"] ? ": " + ps[n]["Type"] : ""), + text: n + (ps[n]["Type"] + ? ps[n]["Collection"] + ? ": " + ps[n]["Collection"] + " of " + ps[n]["Type"] + : ": " + ps[n]["Type"] + : ""), hover: self.getPropertyHoverText(ps[n], "property"), icons: self.getPropertyIcons(ps[n]) });