| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html i18n-values="dir:textdirection;"> | 2 <html i18n-values="dir:textdirection;"> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <title i18n-content="title"></title> | 5 <title i18n-content="title"></title> |
| 6 <link rel="icon" href="../../app/theme/downloads_favicon.png"> | 6 <link rel="icon" href="../../app/theme/downloads_favicon.png"> |
| 7 <style> | 7 <style> |
| 8 body { | 8 body { |
| 9 background-color:white; | 9 background-color:white; |
| 10 color:black; | 10 color:black; |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 */ | 253 */ |
| 254 Downloads.prototype.setSearchText = function(searchText) { | 254 Downloads.prototype.setSearchText = function(searchText) { |
| 255 this.searchText_ = searchText; | 255 this.searchText_ = searchText; |
| 256 } | 256 } |
| 257 | 257 |
| 258 /** | 258 /** |
| 259 * Update the summary block above the results | 259 * Update the summary block above the results |
| 260 */ | 260 */ |
| 261 Downloads.prototype.updateSummary = function() { | 261 Downloads.prototype.updateSummary = function() { |
| 262 if (this.searchText_) { | 262 if (this.searchText_) { |
| 263 this.summary_.innerHTML = localStrings.formatString( | 263 this.summary_.textContent = localStrings.formatString( |
| 264 'searchresultsfor', this.searchText_); | 264 'searchresultsfor', this.searchText_); |
| 265 } else { | 265 } else { |
| 266 this.summary_.innerHTML = localStrings.getString('downloads'); | 266 this.summary_.innerHTML = localStrings.getString('downloads'); |
| 267 } | 267 } |
| 268 | 268 |
| 269 var hasDownloads = false; | 269 var hasDownloads = false; |
| 270 for (var i in this.downloads_) { | 270 for (var i in this.downloads_) { |
| 271 hasDownloads = true; | 271 hasDownloads = true; |
| 272 break; | 272 break; |
| 273 } | 273 } |
| (...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 711 <div id="downloads-summary"> | 711 <div id="downloads-summary"> |
| 712 <span id="downloads-summary-text" i18n-content="downloads">Downloads</span> | 712 <span id="downloads-summary-text" i18n-content="downloads">Downloads</span> |
| 713 <a id="clear-all" href="" onclick="clearAll();" i18n-content="clear_all">Cle
ar All</a> | 713 <a id="clear-all" href="" onclick="clearAll();" i18n-content="clear_all">Cle
ar All</a> |
| 714 </div> | 714 </div> |
| 715 <div id="downloads-display"></div> | 715 <div id="downloads-display"></div> |
| 716 </div> | 716 </div> |
| 717 <div class="footer"> | 717 <div class="footer"> |
| 718 </div> | 718 </div> |
| 719 </body> | 719 </body> |
| 720 </html> | 720 </html> |
| OLD | NEW |