crmMailingAB - After submitting, stay on the report screen. Don't redirect to listing.
authorTim Otten <totten@civicrm.org>
Thu, 19 Feb 2015 02:50:58 +0000 (18:50 -0800)
committerTim Otten <totten@civicrm.org>
Thu, 19 Feb 2015 23:04:07 +0000 (15:04 -0800)
js/angular-crmMailingAB.js

index 91bb7ace4e9743cc30eea58d98aaf7c420661d6f..4d30b29de2b5835ef67981cb8ddd5f1aea8f7b2b 100644 (file)
             // Note: We're going to leave, so we don't care that submit() modifies several server-side records.
             // If we stayed on this page, then we'd care about updating and call: abtest.submitTest().then(...abtest.load()...)
           })
-      ).then($scope.leave);
+      );
     };
 
     $scope.leave = function leave() {