github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 839
    • 189
  • Source
  • Commits
  • Network (189)
  • Graphs
  • Tree: b38b6a7

click here to add a description

click here to add a homepage

  • Switch Branches (8)
    • bind
    • devpreview
    • formcontrols
    • master
    • menu
    • panel
    • tooltip
    • widget-super
  • Switch Tags (20)
    • 1.9m2
    • 1.9m1
    • 1.8rc3
    • 1.8rc2
    • 1.8rc1
    • 1.8b1
    • 1.8a2
    • 1.8a1
    • 1.8.3
    • 1.8.2
    • 1.8.1
    • 1.8
    • 1.7
    • 1.6rc6
    • 1.6rc5
    • 1.6rc3
    • 1.6rc2
    • 1.6
    • 1.5.2
    • 1.5.1
  • Comments
  • Contributors
Sending Request…

The official jQuery user interface library. — Read more

  Cancel

http://jqueryui.com/

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

Fixed #4127 - Resizable: displacement of element (in case of constraint resize 
area)
props raziel057
rdworth (author)
Mon Mar 02 02:11:38 -0800 2009
commit  b38b6a75460fcdcc4d95
tree    971e1e49131f2f853f11
parent  58afe89127d168dbb2b8
M ui/ui.resizable.js 3 •••
Txt ui/ui.resizable.js
  • View file @ b38b6a7
... ...
@@ -690,6 +690,9 @@ $.ui.plugin.add("resizable", "containment", {
690 690
       self.position.top = self._helper ? co.top : 0;
691 691
     }
692 692
 
  693
+    self.offset.left = self.parentData.left+self.position.left;
  694
+    self.offset.top = self.parentData.top+self.position.top;
  695
+
693 696
     var woset = Math.abs( (self._helper ? self.offset.left - cop.left : (self.offset.left - cop.left)) + self.sizeDiff.width ),
694 697
           hoset = Math.abs( (self._helper ? self.offset.top - cop.top : (self.offset.top - co.top)) + self.sizeDiff.height );
695 698
 

0 notes on commit b38b6a7

Please log in to comment.
Blog | Support | Training | Job Board | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server
  • English
  • Català
  • Čeština
  • Deutsch
  • Español
  • Français
  • Hrvatski
  • Indonesia
  • Italiano
  • 日本語
  • Nederlands
  • Norsk
  • Polski
  • Português (BR)
  • Српски
  • Svenska
  • 中文