network-agent: Add missing parameter
_getMobileSecrets() expects the connection type to be passed, so do that. https://bugzilla.gnome.org/show_bug.cgi?id=658492
This commit is contained in:
parent
268fe464de
commit
09fa5d98c2
@ -360,7 +360,7 @@ NetworkSecretDialog.prototype = {
|
|||||||
case 'bluetooth':
|
case 'bluetooth':
|
||||||
content.title = _("Mobile broadband network password");
|
content.title = _("Mobile broadband network password");
|
||||||
content.message = _("A password is required to connect to '%s'.").format(connectionSetting.get_id());
|
content.message = _("A password is required to connect to '%s'.").format(connectionSetting.get_id());
|
||||||
this._getMobileSecrets(content.secrets);
|
this._getMobileSecrets(content.secrets, connectionType);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
log('Invalid connection type: ' + connectionType);
|
log('Invalid connection type: ' + connectionType);
|
||||||
|
Loading…
Reference in New Issue
Block a user