Revision: 2098
http://mrbs.svn.sourceforge.net/mrbs/?rev=2098&view=rev
Author: cimorrison
Date: 2011-10-15 10:33:58 +0000 (Sat, 15 Oct 2011)
Log Message:
-----------
Stopped series members being resized
Modified Paths:
--------------
mrbs/branches/draggable_bookings/web/functions.inc
Modified: mrbs/branches/draggable_bookings/web/functions.inc
===================================================================
--- mrbs/branches/draggable_bookings/web/functions.inc 2011-10-15 10:28:05 UTC
(rev 2097)
+++ mrbs/branches/draggable_bookings/web/functions.inc 2011-10-15 10:33:58 UTC
(rev 2098)
@@ -1765,7 +1765,10 @@
{
$c .= " tentative";
}
- if (getWritable($cell[0]['create_by'], $user, $cell[0]['room_id']))
+ // Add a class to single entry bookings (ie not series members) that this
+ // user is allowed to edit so that the JavaScript can turn them into
resizable
+ // bookings
+ if (!$is_repeat && getWritable($cell[0]['create_by'], $user,
$cell[0]['room_id']))
{
$c .= " writable";
}
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