소스 검색

HUE-229. Request instances are not reusable

* was checking the wrong request object for previous configuration
Aaron Newton 16 년 전
부모
커밋
a74e3b938c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      desktop/core/static/js/Source/CCS/CCS.JFrame.js

+ 1 - 1
desktop/core/static/js/Source/CCS/CCS.JFrame.js

@@ -712,7 +712,7 @@ CCS.JFrame = new Class({
 			that request instance from being "set up" twice, exit if there's already
 			a request and it's already been set up.
 		*/
-		if (this._request && this._request._jframeConfigured) return;
+		if (request._jframeConfigured) return;
 		request._jframeConfigured = true;
 		request.setOptions($merge({
 			useSpinner: this.options.spinnerCondition.apply(this, [options]),