diff --git a/ehr/resources/web/ehr/navMenu.js b/ehr/resources/web/ehr/navMenu.js
index 74bbd49af..8f4d6048c 100644
--- a/ehr/resources/web/ehr/navMenu.js
+++ b/ehr/resources/web/ehr/navMenu.js
@@ -107,11 +107,19 @@ Ext4.define('EHR.NavMenu', {
item = this.renderer(tmp.items[j])
}
else {
- //NOTE: this is the default renderer
- item = {
- //Creates links for the navigation panel
- html: ''+tmp.items[j].name+''
+ if (tmp.items[j].target){
+ item = {
+ //Creates links for the navigation panel to a target
+ html: ''+tmp.items[j].name+''
+ }
+ }else{
+ item = {
+ //Creates links for the navigation panel
+ html: ''+tmp.items[j].name+''
+ }
}
+ //NOTE: this is the default renderer
+
}
section.add(item)
}