Author: jfthomps
Date: Fri May 27 15:17:20 2011
New Revision: 1128356

URL: http://svn.apache.org/viewvc?rev=1128356&view=rev
Log:
modified setOpenEnd - moved setting openend checked to true to start of 
function in case openenddate or openendtime is invalid (which will always be 
true when setting the first of those two)

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

Modified: incubator/vcl/trunk/web/js/requests.js
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/web/js/requests.js?rev=1128356&r1=1128355&r2=1128356&view=diff
==============================================================================
--- incubator/vcl/trunk/web/js/requests.js (original)
+++ incubator/vcl/trunk/web/js/requests.js Fri May 27 15:17:20 2011
@@ -103,6 +103,7 @@ function selectEnding() {
 }
 
 function setOpenEnd() {
+       dojo.byId('openend').checked = true;
        if(! dijit.byId('openenddate').isValid() ||
           ! dijit.byId('openendtime').isValid()) {
                dojo.byId('enddate').value = '';
@@ -120,7 +121,6 @@ function setOpenEnd() {
                                     d.getDate(),
                                     t.getHours(),
                                     t.getMinutes());
-       dojo.byId('openend').checked = true;
 }
 
 function checkValidImage() {


Reply via email to