Author: jfthomps
Date: Thu Mar 15 14:53:39 2012
New Revision: 1301019

URL: http://svn.apache.org/viewvc?rev=1301019&view=rev
Log:
modified updateWaitTime - added check to return if waittime element does not 
exist

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=1301019&r1=1301018&r2=1301019&view=diff
==============================================================================
--- incubator/vcl/trunk/web/js/requests.js (original)
+++ incubator/vcl/trunk/web/js/requests.js Thu Mar 15 14:53:39 2012
@@ -54,6 +54,8 @@ function selectEnvironment() {
 }
 
 function updateWaitTime(cleardesc) {
+       if(! dojo.byId('waittime'))
+               return;
        var desconly = 0;
        if(cleardesc)
                dojo.byId('imgdesc').innerHTML = '';


Reply via email to