diff options
author | patdenice <patdenice@piwigo.org> | 2011-03-07 00:58:34 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2011-03-07 00:58:34 +0000 |
commit | ac0ba26afc1fe5f7daf1d7f967301470b461772c (patch) | |
tree | 5da280ad6cbbae4af8498e4e6d2da517c7d1383f /themes/default/js/ui/jquery.ui.resizable.js | |
parent | d94968f60a8e818fa1c1b18fdc8b83d7affa9b6e (diff) |
Update jQuery UI to 1.8.10.
Improve jquery ui management in template class.
git-svn-id: http://piwigo.org/svn/trunk@9559 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/js/ui/jquery.ui.resizable.js')
-rw-r--r-- | themes/default/js/ui/jquery.ui.resizable.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/themes/default/js/ui/jquery.ui.resizable.js b/themes/default/js/ui/jquery.ui.resizable.js index d9d27627b..1d7648a0c 100644 --- a/themes/default/js/ui/jquery.ui.resizable.js +++ b/themes/default/js/ui/jquery.ui.resizable.js @@ -1,5 +1,5 @@ /* - * jQuery UI Resizable 1.8.9 + * jQuery UI Resizable 1.8.10 * * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. @@ -322,10 +322,10 @@ $.widget("ui.resizable", $.ui.mouse, { if(this._helper) { var pr = this._proportionallyResizeElements, ista = pr.length && (/textarea/i).test(pr[0].nodeName), - soffseth = ista && $.ui.hasScroll(pr[0], 'left') /* TODO - jump height */ ? 0 : self.sizeDiff.height, - soffsetw = ista ? 0 : self.sizeDiff.width; + soffseth = ista && $.ui.hasScroll(pr[0], 'left') /* TODO - jump height */ ? 0 : self.sizeDiff.height, + soffsetw = ista ? 0 : self.sizeDiff.width; - var s = { width: (self.size.width - soffsetw), height: (self.size.height - soffseth) }, + var s = { width: (self.helper.width() - soffsetw), height: (self.helper.height() - soffseth) }, left = (parseInt(self.element.css('left'), 10) + (self.position.left - self.originalPosition.left)) || null, top = (parseInt(self.element.css('top'), 10) + (self.position.top - self.originalPosition.top)) || null; @@ -519,7 +519,7 @@ $.widget("ui.resizable", $.ui.mouse, { }); $.extend($.ui.resizable, { - version: "1.8.9" + version: "1.8.10" }); /* |