diff options
author | Scott González <scott.gonzalez@gmail.com> | 2009-09-06 16:19:30 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2009-09-06 16:19:30 +0000 |
commit | 25d97c77603ee06f5c1a7564eb7e1a8decc3cd40 (patch) | |
tree | 7aef5b65b5da49958d7558a36bbee9567bc5769a /ui/ui.core.js | |
parent | 93be4407bf704ae2e2e188904028dd33dde08ee9 (diff) | |
download | jquery-ui-25d97c77603ee06f5c1a7564eb7e1a8decc3cd40.tar.gz jquery-ui-25d97c77603ee06f5c1a7564eb7e1a8decc3cd40.zip |
Widget factory: Namespace the remove event handler.
Diffstat (limited to 'ui/ui.core.js')
-rw-r--r-- | ui/ui.core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.core.js b/ui/ui.core.js index a83618a45..1b4794485 100644 --- a/ui/ui.core.js +++ b/ui/ui.core.js @@ -309,7 +309,7 @@ $.widget = function(name, prototype) { return self._getData(key); } }) - .bind('remove', function() { + .bind('remove.' + name, function() { return self.destroy(); }); }; |