src/js/widgets/tagCloudWidget.js
branchpopcorn-port
changeset 737 c12b9a11102c
parent 736 eff5206f6877
child 766 aa26ddaf2556
--- a/src/js/widgets/tagCloudWidget.js	Fri Jan 27 16:09:34 2012 +0100
+++ b/src/js/widgets/tagCloudWidget.js	Fri Jan 27 16:23:00 2012 +0100
@@ -79,8 +79,8 @@
                 : _e.textContent;
         });
     }));
-    this._Popcorn.listen("IriSP.search.closed", IriSP.wrap(this, this.searchFieldClosedHandler));
-    this._Popcorn.listen("IriSP.search.cleared", IriSP.wrap(this, this.searchFieldClearedHandler));
+    this._Popcorn.listen("IriSP.search.closed", IriSP.wrap(this, this.endsearch));
+    this._Popcorn.listen("IriSP.search.cleared", IriSP.wrap(this, this.endsearch));
 }
 
 IriSP.TagCloudWidget.prototype.endsearch = function() {