Revision: 2456
          https://sourceforge.net/p/mrbs/code/2456/
Author:   cimorrison
Date:     2012-10-03 10:29:55 +0000 (Wed, 03 Oct 2012)
Log Message:
-----------
Removed redundant code

Modified Paths:
--------------
    mrbs/branches/flexible_day_end/web/js/edit_entry.js.php

Modified: mrbs/branches/flexible_day_end/web/js/edit_entry.js.php
===================================================================
--- mrbs/branches/flexible_day_end/web/js/edit_entry.js.php     2012-10-03 
10:24:45 UTC (rev 2455)
+++ mrbs/branches/flexible_day_end/web/js/edit_entry.js.php     2012-10-03 
10:29:55 UTC (rev 2456)
@@ -1230,23 +1230,18 @@
     //     they are dependent on the start and end dates
     ?>
     adjustSlotSelectors(document.getElementById('main'));
+    
     <?php
-    if (function_exists('json_encode'))
-    {
-      // (2) If we're doing Ajax checking of the form then we have to check
-      //     for conflicts when the datepicker is closed
-      ?>
-      checkConflicts();
+    // (2) If we're doing Ajax checking of the form then we have to check
+    //     for conflicts when the datepicker is closed
+    ?>
+    checkConflicts();
       
-      <?php
-      // (3) Check to see whether any time slots should be removed from the 
time
-      //     select on the grounds that they don't exist due to a transition 
into DST.
-      ?>
-      checkTimeSlots($(this), areas[currentArea]);
-
-    
-      <?php
-    }  // if (function_exists('json_encode'))
+    <?php
+    // (3) Check to see whether any time slots should be removed from the time
+    //     select on the grounds that they don't exist due to a transition 
into DST.
     ?>
+    checkTimeSlots($(this), areas[currentArea]);
+
   }).trigger('datePickerUpdated');
 };
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to