瀏覽代碼

HUE-229. Request instances are not reusable

* was checking the wrong request object for previous configuration
Aaron Newton 15 年之前
父節點
當前提交
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]),