HomeHelpTrac

Changeset 13414 for trunk/plugins


Ignore:
Timestamp:
12/11/09 01:05:42 (2 years ago)
Author:
Sergey Zotov
Message:

Ticket #1597

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/jquery/ui.sortable.js

    r13368 r13414  
    623623 
    624624                    //If the element doesn't have a actual height by itself (without styles coming from a stylesheet), it receives the inline height from the dragged item 
    625                     if(!p.height()) { p.height(self.currentItem.innerHeight() - parseInt(self.currentItem.css('paddingTop')||0, 10) - parseInt(self.currentItem.css('paddingBottom')||0, 10)); }; 
    626                     if(!p.width()) { p.width(self.currentItem.innerWidth() - parseInt(self.currentItem.css('paddingLeft')||0, 10) - parseInt(self.currentItem.css('paddingRight')||0, 10)); }; 
     625                    if(!p.height()) { p.height(self.currentItem.innerHeight() - parseInt(self.currentItem.css('paddingTop')||0, 10) - parseInt(self.currentItem.css('paddingBottom')||0, 10) - 1); }; 
     626                    if(!p.width()) { p.width(self.currentItem.innerWidth() - parseInt(self.currentItem.css('paddingLeft')||0, 10) - parseInt(self.currentItem.css('paddingRight')||0, 10) - 1); }; 
    627627                } 
    628628            }; 
Note: See TracChangeset for help on using the changeset viewer.