Skip to content
Snippets Groups Projects
Commit d7b6f1e4 authored by cramakri's avatar cramakri
Browse files

CCS-30 SP-488 : Fixed bug in ipad ui debug webapp

SVN: 28305
parent db856238
No related branches found
No related tags found
No related merge requests found
......@@ -30,8 +30,8 @@ IpadModel.prototype.selectEntity = function(d) {
this.selectedEntity = d;
var permId = d[0].value;
var refcon = parseJson(d[1].value);
var rootLevel = d[5].value;
if ("[]" != rootLevel) {
var rootLevel = d[d.length - 1].value;
if ("" != rootLevel) {
this.selectNavigationEntity(permId, refcon);
} else {
this.selectNormalEntity(permId, refcon, d);
......
......@@ -30,8 +30,8 @@ IpadModel.prototype.selectEntity = function(d) {
this.selectedEntity = d;
var permId = d[0].value;
var refcon = parseJson(d[1].value);
var rootLevel = d[5].value;
if ("[]" != rootLevel) {
var rootLevel = d[d.length - 1].value;
if ("" != rootLevel) {
this.selectNavigationEntity(permId, refcon);
} else {
this.selectNormalEntity(permId, refcon, d);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment