Author: jfthomps
Date: Mon May  1 16:06:37 2017
New Revision: 1793366

URL: http://svn.apache.org/viewvc?rev=1793366&view=rev
Log:
VCL-1035 - selecting Manage Images->Create/Update an Image doesn't work

requests.js: modified initViewRequests: added a check for 
dijit.byId('deployimage') being undefined to conditionals at top that cause a 
timeout to get set to attempt the function later

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=1793366&r1=1793365&r2=1793366&view=diff
==============================================================================
--- vcl/trunk/web/js/requests.js (original)
+++ vcl/trunk/web/js/requests.js Mon May  1 16:06:37 2017
@@ -43,7 +43,8 @@ function initViewRequests(imaging) {
        if(typeof(dijit) == "undefined" ||
           typeof(dijit.byId) == "undefined" ||
           typeof(images) == "undefined" ||
-          dojo.byId('limitstart') == null) {
+          dojo.byId('limitstart') == null ||
+          (imaging && typeof(dijit.byId('deployimage')) == 'undefined')) {
                setTimeout(function() {initViewRequests(imaging);}, 100);
                return;
        }


Reply via email to