Browse Source

HUE-229. Request instances are not reusable

* was checking the wrong request object for previous configuration
Aaron Newton 15 years ago
parent
commit
a74e3b938c
1 changed files with 1 additions and 1 deletions
  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]),