r1293 - in trunk: demos/resizable ui

r1293 - in trunk: demos/resizable ui


Author: rdworth
Date: Mon Dec 29 21:38:56 2008
New Revision: 1293
Modified:
trunk/demos/resizable/animate.html
trunk/ui/ui.resizable.js
Log:
Fixed #3708 - Resizable: all classes added should have 'ui-'
prefix, 'proxy' should be 'ui-resizable-helper'
Modified: trunk/demos/resizable/animate.html
==============================================================================
--- trunk/demos/resizable/animate.html    (original)
+++ trunk/demos/resizable/animate.html    Mon Dec 29 21:38:56 2008
@@ -9,7 +9,7 @@
    <script type="text/javascript" src="../../ui/ui.resizable.js"></script>
    <style type="text/css">
    #resizable { width: 150px; height: 150px; padding: 0.5em;
background-position: top left; }
-    .proxy { border: 1px dotted gray; }
+    .ui-resizable-helper { border: 1px dotted gray; }
    </style>
    <script type="text/javascript">
    $(function() {
Modified: trunk/ui/ui.resizable.js
==============================================================================
--- trunk/ui/ui.resizable.js    (original)
+++ trunk/ui/ui.resizable.js    Mon Dec 29 21:38:56 2008
@@ -27,7 +27,7 @@
        $.extend(o, {
            _aspectRatio: !!(o.aspectRatio),
-            helper: o.helper || o.ghost || o.animate ? o.helper || 'proxy' : null,
+            helper: o.helper || o.ghost || o.animate ? o.helper |
| 'ui-resizable-helper' : null,
            knobHandles: o.knobHandles === true ? 'ui-resizable-knob-handle' :
o.knobHandles
        });