r3198 committed - Widget factory: Namespace the remove event handler.
Revision: 3198
Author: scott.gonzalez
Date: Sun Sep 6 09:19:30 2009
Log: Widget factory: Namespace the remove event handler.
http://code.google.com/p/jquery-ui/source/detail?r=3198
Modified:
/trunk/ui/ui.core.js
=======================================
--- /trunk/ui/ui.core.js Thu Aug 27 17:39:43 2009
+++ /trunk/ui/ui.core.js Sun Sep 6 09:19:30 2009
@@ -309,7 +309,7 @@
return self._getData(key);
}
})
- .bind('remove', function() {
+ .bind('remove.' + name, function() {
return self.destroy();
});
};