Revision: 2578
https://sourceforge.net/p/mrbs/code/2578/
Author: cimorrison
Date: 2012-12-09 17:35:27 +0000 (Sun, 09 Dec 2012)
Log Message:
-----------
Improved the way the "start of last slot" field is displayed on load
Modified Paths:
--------------
mrbs/trunk/web/edit_area_room.php
mrbs/trunk/web/js/edit_area_room.js.php
Modified: mrbs/trunk/web/edit_area_room.php
===================================================================
--- mrbs/trunk/web/edit_area_room.php 2012-12-09 17:22:26 UTC (rev 2577)
+++ mrbs/trunk/web/edit_area_room.php 2012-12-09 17:35:27 UTC (rev 2578)
@@ -976,7 +976,7 @@
generate_checkbox($params);
echo "</div>\n";
- echo "<div id=\"last_slot\">\n";
+ echo "<div id=\"last_slot\" class=\"js_hidden\">\n";
// The contents of this div will be overwritten by JavaScript if enabled.
The JavaScript version is a drop-down
// select input with options limited to those times for the last slot start
that are valid. The options are
// dynamically regenerated if the start of the first slot or the resolution
change. The code below is
Modified: mrbs/trunk/web/js/edit_area_room.js.php
===================================================================
--- mrbs/trunk/web/js/edit_area_room.js.php 2012-12-09 17:22:26 UTC (rev
2577)
+++ mrbs/trunk/web/js/edit_area_room.js.php 2012-12-09 17:35:27 UTC (rev
2578)
@@ -168,7 +168,8 @@
<?php // finally, replace the contents of the <div> with the new <select> ?>
$('#last_slot').empty()
.append(label)
- .append(select);
+ .append(select)
+ .css('visibility', 'visible');
}
<?php
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits