summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/resources')
-rw-r--r--chrome/browser/resources/options/chromeos_internet_detail.html2
-rw-r--r--chrome/browser/resources/options/chromeos_internet_options.js6
2 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/resources/options/chromeos_internet_detail.html b/chrome/browser/resources/options/chromeos_internet_detail.html
index b32558e..3acddad 100644
--- a/chrome/browser/resources/options/chromeos_internet_detail.html
+++ b/chrome/browser/resources/options/chromeos_internet_detail.html
@@ -69,7 +69,7 @@
<table class="option-control-table">
<tr>
<td class="option-name" i18n-content="inetIdent"></td>
- <td class="option-value"><input id="inetIdentPkcs"></td>
+ <td id="inetIdentPkcs" class="option-value"></td>
</tr>
<tr>
<td class="option-name" i18n-content="inetCert"></td>
diff --git a/chrome/browser/resources/options/chromeos_internet_options.js b/chrome/browser/resources/options/chromeos_internet_options.js
index 2c6efef..015c77c 100644
--- a/chrome/browser/resources/options/chromeos_internet_options.js
+++ b/chrome/browser/resources/options/chromeos_internet_options.js
@@ -103,7 +103,7 @@ cr.define('options', function() {
if (data.certInPkcs) {
chrome.send('loginToCertNetwork',[String(servicePath),
String(data.certPath),
- String($('inetIdentPkcs').value)]);
+ String(data.ident)]);
} else {
chrome.send('loginToCertNetwork',[String(servicePath),
String($('inetCert').value),
@@ -121,7 +121,7 @@ cr.define('options', function() {
newinfo.push($('autoConnectNetwork').checked ? "true" : "false");
if (data.encrypted && data.certNeeded) {
if (data.certInPkcs) {
- newinfo.push($('inetIdentPkcs').value);
+ newinfo.push(data.ident);
} else {
newinfo.push($('inetIdent').value);
newinfo.push($('inetCert').value);
@@ -285,7 +285,7 @@ cr.define('options', function() {
if (data.certNeeded) {
if (data.certInPkcs) {
page.setAttribute('certPkcs', true);
- $('inetIdentPkcs').value = data.ident;
+ $('inetIdentPkcs').textContent = data.ident;
} else {
page.setAttribute('cert', true);
$('inetIdent').value = data.ident;