Fixes an issue where the wifi password input field is not cleared when user tries to connect to another encrypted network.
Change-Id: I7692cf041196db490dcfc3d955ad817b57def778
Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
connmanConstructServicePanel(service);
});
+ /* WiFi connect page */
+ $('#page_wifi_connect').on('pagebeforeshow', function(event, data) {
+ $('#input_wifi_connect_passphrase').val('');
+ });
+
/* WiFi add new network page */
$('#page_wifi_add').on('pagebeforeshow', function(event, data) {
$('#input_wifi_add_ssid').val('');