Author: jfthomps
Date: Thu Feb  5 20:00:57 2015
New Revision: 1657677

URL: http://svn.apache.org/r1657677
Log:
VCL-780 - combine new reservation and current reservations pages

requests.js: modified initViewRequests: added a check for 
dojo.byId('limitstart') being null to the initial conditionals that check if 
the page has finished being built yet; things worked fine in firefox before 
this, but not in chrome, safari, or ie

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

Modified: vcl/trunk/web/js/requests.js
URL: 
http://svn.apache.org/viewvc/vcl/trunk/web/js/requests.js?rev=1657677&r1=1657676&r2=1657677&view=diff
==============================================================================
--- vcl/trunk/web/js/requests.js (original)
+++ vcl/trunk/web/js/requests.js Thu Feb  5 20:00:57 2015
@@ -39,7 +39,8 @@ function generalReqCB(data, ioArgs) {
 function initViewRequests(imaging) {
        if(typeof(dijit) == "undefined" ||
           typeof(dijit.byId) == "undefined" ||
-          typeof(images) == "undefined") {
+          typeof(images) == "undefined" ||
+          dojo.byId('limitstart') == null) {
                setTimeout(function() {initViewRequests(imaging);}, 100);
                return;
        }


Reply via email to