From 4f7014b2d58acb1827b65718c936617aa6ae5189 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sun, 3 Nov 2013 16:10:11 -0500 Subject: [PATCH] networkAgent: Make sure to update the OK button on dialog pop up For consistency. --- js/ui/components/networkAgent.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/components/networkAgent.js b/js/ui/components/networkAgent.js index 6a9656890..d452f9cc7 100644 --- a/js/ui/components/networkAgent.js +++ b/js/ui/components/networkAgent.js @@ -138,6 +138,8 @@ const NetworkSecretDialog = new Lang.Class({ key: Clutter.KEY_Escape, }, this._okButton]); + + this._updateOkButton(); }, _updateOkButton: function() {