Fixed #3708 - Resizable: all classes added should have 'ui-' prefix, 'proxy' should be 'ui-resizable-helper'

This commit is contained in:
Richard Worth 2008-12-30 05:38:56 +00:00
parent 1ff49c1322
commit cc237b31cd
2 changed files with 2 additions and 2 deletions

View File

@ -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() {

View File

@ -27,7 +27,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
$.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
});