Changeset:
        603fad9aeeec
        
https://sourceforge.net/p/mrbs/hg-code/ci/603fad9aeeecd667dc46f45e95bdf5c658f3bee3
Author:
        Campbell Morrison <cimorri...@hg.code.sf.net>
Date:
        Fri Mar 10 10:03:49 2017 +0000
Log message:

Added a comment

diffstat:

 web/js/edit_entry.js.php |  7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diffs (17 lines):

diff -r 3dcb50054078 -r 603fad9aeeec web/js/edit_entry.js.php
--- a/web/js/edit_entry.js.php  Fri Mar 10 09:55:43 2017 +0000
+++ b/web/js/edit_entry.js.php  Fri Mar 10 10:03:49 2017 +0000
@@ -619,6 +619,13 @@
             }
             conflictDiv.attr('title', titleText);
             scheduleDetails.html(detailsHTML);
+            
+            <?php
+            // Display the results of the policy check.   Set the class to 
"good" if there
+            // are no policy violations at all.  To "notice" if there are no 
errors, but some
+            // notices (this happens when an admin user makes a booking that 
an ordinary user
+            // would not be allowed to.  Otherwise "bad".  Content and styling 
are supplied by CSS.
+            ?>
             var policyDiv = $('#policy_check');
             if (result.violations.errors.length === 0)
             {

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Mrbs-commits mailing list
Mrbs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to