Remove css for the row class .
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 12 Jun 2014 15:47:33 +0000 (11:47 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 12 Jun 2014 15:47:33 +0000 (11:47 -0400)
Toolkit/Schedule/EditSchedule.php
Toolkit/Schedule/templates/departuresScheduleCalendar.html

index b03c831..537a8f3 100644 (file)
@@ -422,8 +422,8 @@ class Toolkit_Schedule_EditSchedule
           SELECT id,navigation_name,parent
             FROM toolbox.pages
         ORDER BY parent,pos";
-
-        $data   = $this->dbh->query($qs)->fetchAll(PDO::FETCH_ASSOC);
+        $dbh    = $registry->dbh;
+        $data   = $dbh->query($qs)->fetchAll(PDO::FETCH_ASSOC);
         $data1  = $this->_sort_by_parent($data);
         $select = '<select name="page"><option value=""></option>';
         $parts  = $this->_convertParent($data1, $data1[0]);
@@ -495,7 +495,7 @@ class Toolkit_Schedule_EditSchedule
         if ($scheduleId) {
             $page->departures = $this->getDepartures($registry, $scheduleId);
         }
-        $page->pageSelect   = $this->_parentSelect($image->getPage());
+        $page->pageSelect   = $this->_parentSelect();
         $page->colors       = $this->colors;
         $page->timesChx     = $this->timesChx;
         $page->timesBvi     = $this->timesBvi;
index d0e9e8d..2322331 100644 (file)
@@ -56,8 +56,6 @@ table.cals {
 .Chx {background-color:none;width:33%;border: solid 1px black;text-align:center;}
 .Bvi {background-color:none;width:33%;border: solid 1px black;text-align:center;}
 .comments {background-color:none;width:33%;border: solid 1px black;height:100%;text-align:center;}
-.timeLabel {background-color:none;width:145px;}
-.row {clear:both;border: solid 1px black;background-color:none;}
 </style>
 <div id="departByDateSearch" flexy:if="departByDate">
        <p>