it was trying to call the forme 'hide' method on the searchview. To
solve the problem, I readded the method (and renamed it to do_hide for
consistency with views)
return this.$el;
return this.$el.find(selector);
},
+ do_show: function () {
+ this.$el.show();
+ },
+ do_hide: function () {
+ this.$el.hide();
+ },
/**
* Proxies a method of the object, in order to keep the right ``this`` on
* method invocations.
},
new_object: function() {
if (this.searchview) {
- this.searchview.hide();
+ this.searchview.do_hide();
}
if (this.view_list) {
this.view_list.do_hide();