Chromium Code Reviews| Index: chrome/renderer/resources/neterror.js |
| diff --git a/chrome/renderer/resources/neterror.js b/chrome/renderer/resources/neterror.js |
| index 360d0b840c2b73591e5cc850e4972828a0963544..81de561b5d849c1b5ab3562a74f21ac544661845 100644 |
| --- a/chrome/renderer/resources/neterror.js |
| +++ b/chrome/renderer/resources/neterror.js |
| @@ -131,12 +131,14 @@ function onDocumentLoad() { |
| detailsButton.classList.add('singular'); |
| } |
| +<if expr="not chromeos"> |
| // Hide the details button if there are no details to show. |
| if (loadTimeData.valueExists('summary') && |
| !loadTimeData.getValue('summary').msg) { |
| detailsButton.style.display = 'none'; |
| document.getElementById('help-box-outer').style.display = 'block'; |
| } |
| +</if> |
|
afakhry
2015/01/22 22:27:23
To mimic the behavior of the old ChromeOS's offlin
afakhry
2015/01/23 01:35:46
@edwardjung, @arv: Can you please confirm that thi
afakhry
2015/01/23 01:42:01
A bit of context: ChromeOS used to use:
- src/chro
edwardjung
2015/01/23 11:18:28
It makes sense to consolidate. Is src/chrome/rende
edwardjung
2015/01/23 11:18:28
As long as there will always be something in the d
afakhry
2015/01/23 17:49:25
The diagnose button is only specific to ChromeOS.
|
| // Show control buttons. |
| if (loadTimeData.valueExists('reloadButton') && |