Revision: 2686
          https://sourceforge.net/p/mrbs/code/2686/
Author:   cimorrison
Date:     2013-02-08 15:04:33 +0000 (Fri, 08 Feb 2013)
Log Message:
-----------
Fixed bug introduced in Rev 2671 preventing resizing of bookings in the week 
view.   See SF bugs #262

Revision Links:
--------------
    https://sourceforge.net/p/mrbs/code/2671/

Modified Paths:
--------------
    mrbs/trunk/web/js/resizable.js.php

Modified: mrbs/trunk/web/js/resizable.js.php
===================================================================
--- mrbs/trunk/web/js/resizable.js.php  2013-02-08 06:37:46 UTC (rev 2685)
+++ mrbs/trunk/web/js/resizable.js.php  2013-02-08 15:04:33 UTC (rev 2686)
@@ -991,10 +991,7 @@
                 data.end_day = data.start_day;
                 data.end_month = data.start_month;
                 data.end_year = data.start_year;
-                if (newParams.room !== undefined)
-                {
-                  data.rooms = newParams.room;
-                }
+                data.rooms = (typeof newParams.room === 'undefined') ? 
args.room : newParams.room;
                 <?php
                 if (isset($timetohighlight))
                 {
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to