cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [3/5] git commit: Fix JS exception caused by ng promises not having a "done" method
Date Fri, 21 Mar 2014 06:54:10 GMT
Fix JS exception caused by ng promises not having a "done" method


Project: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/commit/5d298ae5
Tree: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/tree/5d298ae5
Diff: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/diff/5d298ae5

Branch: refs/heads/master
Commit: 5d298ae5d68ef74891a9e1bbcc82f4b62b618724
Parents: 33e3109
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Thu Mar 20 23:15:50 2014 -0700
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Thu Mar 20 23:15:50 2014 -0700

----------------------------------------------------------------------
 www/cdvah/js/ListCtrl.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/5d298ae5/www/cdvah/js/ListCtrl.js
----------------------------------------------------------------------
diff --git a/www/cdvah/js/ListCtrl.js b/www/cdvah/js/ListCtrl.js
index fe6cb46..da66390 100644
--- a/www/cdvah/js/ListCtrl.js
+++ b/www/cdvah/js/ListCtrl.js
@@ -84,7 +84,7 @@
                                 return $scope.loadAppsList();
                             }).then(function() {
                                 return $scope.launchApp(theApp, { stopPropagation: function()
{ } });
-                            }).done(null, function(err) {
+                            }).then(null, function(err) {
                                 var msg = 'Failed to update ' + app.appId + ': ' + err;
                                 console.error(msg);
                                 notifier.error(msg);


Mime
View raw message