Author: jfthomps
Date: Wed Nov 10 19:07:12 2010
New Revision: 1033645

URL: http://svn.apache.org/viewvc?rev=1033645&view=rev
Log:
modified blockFormVerifyMonthly - fixed bug where checking for pagemode != 
'edit' when should have been checking for pagemode == 'edit'

Modified:
    incubator/vcl/trunk/web/js/blockallocations.js

Modified: incubator/vcl/trunk/web/js/blockallocations.js
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/web/js/blockallocations.js?rev=1033645&r1=1033644&r2=1033645&view=diff
==============================================================================
--- incubator/vcl/trunk/web/js/blockallocations.js (original)
+++ incubator/vcl/trunk/web/js/blockallocations.js Wed Nov 10 19:07:12 2010
@@ -599,7 +599,7 @@ function blockFormVerifyMonthly(mode) {
                alert('The Last Date of Usage must be the same or later than 
the First Date of Usage');
                return;
        }
-       if(pagemode != 'edit' && dijit.byId('mnlastdate').value < today) {
+       if(pagemode == 'edit' && dijit.byId('mnlastdate').value < today) {
                alert('The Last Date of Usage must be today or later');
                return;
        }


Reply via email to