Revision: 2982
          https://sourceforge.net/p/mrbs/code/2982/
Author:   cimorrison
Date:     2015-01-26 14:33:53 +0000 (Mon, 26 Jan 2015)
Log Message:
-----------
Fixed bug causing the end date selector in the edit_entry form to be visible 
even when multiday booking is not allowed.  (Bug introduced in Rev 2911).

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

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

Modified: mrbs/trunk/web/js/datepicker.js.php
===================================================================
--- mrbs/trunk/web/js/datepicker.js.php 2015-01-26 13:09:05 UTC (rev 2981)
+++ mrbs/trunk/web/js/datepicker.js.php 2015-01-26 14:33:53 UTC (rev 2982)
@@ -158,7 +158,11 @@
           });
       }
       
-      span.css('visibility', 'visible');
+      <?php
+      // Set the visibility to 'inherit' rather than 'visible' because the 
parent
+      // element may itself be hidden, eg if multiday booking is not allowed.
+      ?>
+      span.css('visibility', 'inherit');
       
       $('.ui-datepicker').draggable();
     });
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to