diff options
author | Nivesh Rajbhandari | 2012-05-16 14:37:10 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-05-16 14:37:10 -0700 |
commit | ffea71abfac12d99b106b5c250ec77d5f14ff88e (patch) | |
tree | e296a8b7417875569fadf98e1d273cbe17b32f14 /js/components | |
parent | 96c92ab93bdb6eb2dd42ef275b84d83aef8254bf (diff) | |
parent | 99f16ae08fbb0a6dfe6008c9833f2253b18c19e5 (diff) | |
download | ninja-ffea71abfac12d99b106b5c250ec77d5f14ff88e.tar.gz |
Merge branch 'refs/heads/dom-architecture-master' into Dom-Architecture
Diffstat (limited to 'js/components')
-rwxr-xr-x | js/components/menu/menu-item.reel/menu-item.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/components/menu/menu-item.reel/menu-item.js b/js/components/menu/menu-item.reel/menu-item.js index 26fc7573..fc3913b8 100755 --- a/js/components/menu/menu-item.reel/menu-item.js +++ b/js/components/menu/menu-item.reel/menu-item.js | |||
@@ -141,7 +141,7 @@ exports.MenuItem = Montage.create(Component, { | |||
141 | 141 | ||
142 | if(this.data.radio && this.checked) return; | 142 | if(this.data.radio && this.checked) return; |
143 | 143 | ||
144 | if((this.enabled === true) && (this.submenu === false) ) { | 144 | if( ( this.enabled === true || this.enabled > 0 ) && (this.submenu === false) ) { |
145 | if(this.data.action) { | 145 | if(this.data.action) { |
146 | NJevent ( this.data.action ); | 146 | NJevent ( this.data.action ); |
147 | } else if(this.checked !== null) { | 147 | } else if(this.checked !== null) { |