Skip to content

Commit bf34780

Browse files
author
Narciso Jaramillo
committed
Merge pull request adobe#1533 from adobe/glenn/issue-1530
Fix for issue adobe#1530
2 parents 97785a4 + 4e489ff commit bf34780

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/utils/UpdateNotification.js

+7-5
Original file line numberDiff line numberDiff line change
@@ -331,11 +331,13 @@ define(function (require, exports, module) {
331331
})
332332
.fail(function () {
333333
// Error fetching the update data. If this is a forced check, alert the user
334-
Dialogs.showModalDialog(
335-
Dialogs.DIALOG_ID_ERROR,
336-
Strings.ERROR_FETCHING_UPDATE_INFO_TITLE,
337-
Strings.ERROR_FETCHING_UPDATE_INFO_MSG
338-
);
334+
if (force) {
335+
Dialogs.showModalDialog(
336+
Dialogs.DIALOG_ID_ERROR,
337+
Strings.ERROR_FETCHING_UPDATE_INFO_TITLE,
338+
Strings.ERROR_FETCHING_UPDATE_INFO_MSG
339+
);
340+
}
339341
result.reject();
340342
});
341343

0 commit comments

Comments
 (0)