Index: trunk/parsers/wikidom/lib/synth/bases/es.ViewContainer.js |
— | — | @@ -92,9 +92,9 @@ |
93 | 93 | }; |
94 | 94 | |
95 | 95 | es.ViewContainer.prototype.lookupItemView = function( itemModel ) { |
96 | | - for ( var i = 0; i < container.views.length; i++ ) { |
| 96 | + for ( var i = 0; i < this.views.length; i++ ) { |
97 | 97 | if ( this.views[i].getModel() === itemModel ) { |
98 | | - return container.views[i]; |
| 98 | + return this.views[i]; |
99 | 99 | } |
100 | 100 | } |
101 | 101 | return null; |