You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2017/05/01 16:06:37 UTC

svn commit: r1793366 - /vcl/trunk/web/js/requests.js

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;
 	}