r2328 - Merged r2304 and r2305 to 1.7.1 (fixes #4318 - Slider: method destroy does not remove ui-...

r2328 - Merged r2304 and r2305 to 1.7.1 (fixes #4318 - Slider: method destroy does not remove ui-...


Author: rdworth
Date: Wed Mar 18 17:44:23 2009
New Revision: 2328
Added:
branches/1.7.1/tests/visual/slider/slider_method_destroy.html
- copied unchanged from r2304,
/trunk/tests/visual/slider/slider_method_destroy.html
Modified:
branches/1.7.1/tests/visual/slider/ (props changed)
branches/1.7.1/ui/ui.slider.js (contents, props changed)
Log:
Merged r2304 and r2305 to 1.7.1 (fixes #4318 - Slider: method destroy does
not remove ui-slider-range)
Modified: branches/1.7.1/ui/ui.slider.js
==============================================================================
--- branches/1.7.1/ui/ui.slider.js    (original)
+++ branches/1.7.1/ui/ui.slider.js    Wed Mar 18 17:44:23 2009
@@ -161,6 +161,7 @@
    destroy: function() {
        this.handles.remove();
+        this.range.remove();
        this.element
            .removeClass("ui-slider"