Revision: 2084
http://mrbs.svn.sourceforge.net/mrbs/?rev=2084&view=rev
Author: cimorrison
Date: 2011-10-13 13:28:21 +0000 (Thu, 13 Oct 2011)
Log Message:
-----------
changed width() and height() to outerWidth() and outerHeight() - more instances
Modified Paths:
--------------
mrbs/branches/draggable_bookings/web/Themes/default/header.inc
Modified: mrbs/branches/draggable_bookings/web/Themes/default/header.inc
===================================================================
--- mrbs/branches/draggable_bookings/web/Themes/default/header.inc
2011-10-13 13:23:40 UTC (rev 2083)
+++ mrbs/branches/draggable_bookings/web/Themes/default/header.inc
2011-10-13 13:28:21 UTC (rev 2084)
@@ -1491,8 +1491,8 @@
// for a 1 pixel border all round.
?>
$('<div class="outline"><\/div>')
- .width(divClone.width() - 2)
- .height(divClone.height() - 2)
+ .width(divClone.outerWidth() - 2)
+ .height(divClone.outerHeight() - 2)
.offset(divClone.offset())
.appendTo($('div.resizing'));
<?php
@@ -1521,8 +1521,8 @@
?>
divClone.resizable('enable');
divClone.offset(divBooking.offset())
- .width(divBooking.width())
- .height(divBooking.height());
+ .width(divBooking.outerWidth())
+ .height(divBooking.outerHeight());
}
else
{
@@ -1530,9 +1530,9 @@
// Snap the edges to the grid, regardless of where they are.
?>
snapToGrid(divResize.origin.left + divClone.position().left,
'left', true);
- snapToGrid(divResize.origin.left + divClone.position().left +
divClone.width(), 'right', true);
+ snapToGrid(divResize.origin.left + divClone.position().left +
divClone.outerWidth(), 'right', true);
snapToGrid(divResize.origin.top + divClone.position().top,
'top', true);
- snapToGrid(divResize.origin.top + divClone.position().top +
divClone.height(), 'bottom', true);
+ snapToGrid(divResize.origin.top + divClone.position().top +
divClone.outerHeight(), 'bottom', true);
}
<?php // Remove the outline ?>
@@ -1551,8 +1551,8 @@
.css('left', '0')
.css('background-color', $(this).css('background-color'))
.css('max-height', 'none')
- .width(divBooking.width())
- .height(divBooking.height())
+ .width(divBooking.outerWidth())
+ .height(divBooking.outerHeight())
.resizable({handles: 'all',
resize: divResize,
start: divResizeStart,
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits