@@ -9,6 +9,11 @@ cls.ReturnValuesView = function(id, name, container_class)
99 this . createView = function ( container )
1010 {
1111 this . _container = container ;
12+ if ( this . _create_view_bound )
13+ {
14+ this . _create_view_bound ( ) ;
15+ return ;
16+ }
1217 var return_values = stop_at . get_return_values ( ) ;
1318 var return_value_list = return_values && return_values . return_value_list ;
1419 if ( return_value_list && return_value_list . length )
@@ -27,7 +32,7 @@ cls.ReturnValuesView = function(id, name, container_class)
2732 object . className ) ;
2833 }
2934 } ) ;
30- this . _create_view_bound = this . _create_view . bind ( this , container , return_values ) ;
35+ this . _create_view_bound = this . _create_view . bind ( this , return_values ) ;
3136 this . _create_view_bound ( ) ;
3237 }
3338 else
@@ -37,9 +42,9 @@ cls.ReturnValuesView = function(id, name, container_class)
3742 }
3843 } ;
3944
40- this . _create_view = function ( container , return_values )
45+ this . _create_view = function ( return_values )
4146 {
42- container . clearAndRender ( templates . return_values ( return_values , this . _search_term ) ) ;
47+ this . _container . clearAndRender ( templates . return_values ( return_values , this . _search_term ) ) ;
4348 } ;
4449
4550 this . _return_values_no_content = function ( )
@@ -61,8 +66,6 @@ cls.ReturnValuesView = function(id, name, container_class)
6166 }
6267 } . bind ( this ) ;
6368
64- // TODO: CLEAN UP!!!
65-
6669 this . _init = function ( id , name , container_class )
6770 {
6871 View . prototype . init . call ( this , id , name , container_class ) ;
0 commit comments