Skip to content

Commit

Permalink
No initial class list bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitaeverywhere committed Jan 4, 2017
1 parent 561fd1a commit 8c7dab9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CacheClassExplorer",
"version": "1.19.0",
"version": "1.19.1",
"description": "Class Explorer for InterSystems Caché",
"directories": { "test": "test" },
"dependencies": {},
Expand Down
6 changes: 4 additions & 2 deletions web/js/Source.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ var Source = function (cacheUMLExplorer) {
*/
Source.prototype.getClassTree = function (includeMapped, callback) {

var ns = (this.cue.NAMESPACE ? "?namespace=" + encodeURIComponent(this.cue.NAMESPACE) : "");

lib.load(
this.URL + "/GetClassTree"
+ (this.cue.NAMESPACE ? "?namespace=" + encodeURIComponent(this.cue.NAMESPACE) : "")
+ "&mapped=" + (includeMapped ? "1" : "0"),
+ ns
+ (ns ? "&" : "?") + "mapped=" + (includeMapped ? "1" : "0"),
null,
callback
);
Expand Down

0 comments on commit 8c7dab9

Please sign in to comment.