зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1009253 - Activities with no choice available are not reporting error r=vingtetun
This commit is contained in:
Родитель
946aa82c46
Коммит
81962f0be1
|
@ -60,7 +60,7 @@ ActivitiesDialog.prototype = {
|
|||
chooseActivity: function ap_chooseActivity(aOptions, aActivities, aCallback) {
|
||||
// B2G does not have an alternate activity system, make no choice and return.
|
||||
if (aActivities.length === 0) {
|
||||
aCallback(Ci.nsIActivityUIGlueCallback.WEBAPPS_ACTIVITY, -1);
|
||||
aCallback.handleEvent(Ci.nsIActivityUIGlueCallback.WEBAPPS_ACTIVITY, -1);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче