fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [14063] add overlay


From: Saul
Subject: [Fmsystem-commits] [14063] add overlay
Date: Tue, 29 Sep 2015 23:46:56 +0000

Revision: 14063
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14063
Author:   psaul
Date:     2015-09-29 23:46:56 +0000 (Tue, 29 Sep 2015)
Log Message:
-----------
add overlay

Modified Paths:
--------------
    branches/dev-syncromind/booking/templates/base/massbooking_schedule.xsl

Modified: 
branches/dev-syncromind/booking/templates/base/massbooking_schedule.xsl
===================================================================
--- branches/dev-syncromind/booking/templates/base/massbooking_schedule.xsl     
2015-09-29 23:45:42 UTC (rev 14062)
+++ branches/dev-syncromind/booking/templates/base/massbooking_schedule.xsl     
2015-09-29 23:46:56 UTC (rev 14063)
@@ -1,4 +1,5 @@
 <xsl:template match="data" xmlns:php="http://php.net/xsl";>
+    <div id="content_overlay"></div>
     <style typ="text/css" rel="stylesheet">
         #week-selector {list-style: outside none none;}
         #week-selector li {display: inline-block;}
@@ -64,12 +65,14 @@
 
     <script type="text/javascript">
         $(window).load(function() {
+            $('body').prepend($('#content_overlay'));
             schedule.datasourceUrl = '<xsl:value-of 
select="building/datasource_url"/>';
             schedule.newApplicationUrl = '<xsl:value-of 
select="building/application_link"/>';
             schedule.includeResource = true;
+            schedule.colFormatter = 'frontendScheduleDateColumn';
             var handleHistoryNavigation = function (state) {
                 schedule.date = parseISO8601(state);
-                schedule.renderSchedule('schedule_container', 
schedule.datasourceUrl, schedule.date, 'frontendScheduleDateColumn', 
schedule.includeResource);
+                schedule.renderSchedule('schedule_container', 
schedule.datasourceUrl, schedule.date, schedule.colFormatter, 
schedule.includeResource);
             };
             
             var initialRequest = getUrlData("date") || '<xsl:value-of 
select="building/date"/>';




reply via email to

[Prev in Thread] Current Thread [Next in Thread]