Repository: ambari
Updated Branches:
  refs/heads/trunk a8887eb17 -> c9bb7319e


AMBARI-14741. Ambari Web Unit Test failure on trunk (App.WizardStep8Controller) 
(onechiporenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c9bb7319
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c9bb7319
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c9bb7319

Branch: refs/heads/trunk
Commit: c9bb7319e75b3c50031296dfd29bcd7a10f3fa87
Parents: a8887eb
Author: Oleg Nechiporenko <onechipore...@apache.org>
Authored: Thu Jan 21 14:23:15 2016 +0200
Committer: Oleg Nechiporenko <onechipore...@apache.org>
Committed: Thu Jan 21 14:26:33 2016 +0200

----------------------------------------------------------------------
 ambari-web/app/utils/ajax/ajax_queue.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/c9bb7319/ambari-web/app/utils/ajax/ajax_queue.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/ajax/ajax_queue.js 
b/ambari-web/app/utils/ajax/ajax_queue.js
index 1c2106f..8a95d97 100644
--- a/ambari-web/app/utils/ajax/ajax_queue.js
+++ b/ambari-web/app/utils/ajax/ajax_queue.js
@@ -143,7 +143,6 @@ App.ajaxQueue = Em.Object.extend({
    * @method runNextRequest
    */
   runNextRequest: function() {
-    var self = this;
     var queue = this.get('queue');
     if (queue.length === 0) {
       this.finishedCallback();
@@ -152,7 +151,7 @@ App.ajaxQueue = Em.Object.extend({
     var r = App.ajax.send(queue.shift());
     this.propertyDidChange('queue');
     if (r) {
-      r.complete(this._complete);
+      r.complete(this._complete.bind(this));
     }
     else {
       if (this.get('abortOnError')) {

Reply via email to