Permalink
Browse files

Merge pull request #1533 from adobe/glenn/issue-1530

Fix for issue #1530
  • Loading branch information...
2 parents 97785a4 + 4e489ff commit bf347805ee25d49499a85bc367e6c29f4d1c94da @njx njx committed Aug 30, 2012
Showing with 7 additions and 5 deletions.
  1. +7 −5 src/utils/UpdateNotification.js
@@ -331,11 +331,13 @@ define(function (require, exports, module) {
})
.fail(function () {
// Error fetching the update data. If this is a forced check, alert the user
- Dialogs.showModalDialog(
- Dialogs.DIALOG_ID_ERROR,
- Strings.ERROR_FETCHING_UPDATE_INFO_TITLE,
- Strings.ERROR_FETCHING_UPDATE_INFO_MSG
- );
+ if (force) {
+ Dialogs.showModalDialog(
+ Dialogs.DIALOG_ID_ERROR,
+ Strings.ERROR_FETCHING_UPDATE_INFO_TITLE,
+ Strings.ERROR_FETCHING_UPDATE_INFO_MSG
+ );
+ }
result.reject();
});

0 comments on commit bf34780

Please sign in to comment.