|
257 | 257 | var btn = document.createElement("div"); |
258 | 258 | btn.setAttribute("class", "piccolumn4"); |
259 | 259 | var a = document.createElement('a'); |
| 260 | + a.setAttribute("data-tooltip", "Update"); |
260 | 261 | a.href = localURL+'/pic?action=refresh&name='+files[i].name+'&version='+files[i].version; |
261 | 262 | var img = document.createElement('img'); |
262 | 263 | img.src = localURL+'/update.png'; |
263 | 264 | img.style.width = '16px'; |
264 | 265 | img.style.height = 'auto'; |
265 | 266 | img.setAttribute=("alt", "Update"); |
266 | 267 | a.appendChild(img); |
267 | | - btn.setAttribute("data-tooltip", "Update"); |
268 | 268 | btn.appendChild(a); |
269 | 269 | rowDiv.appendChild(btn); |
270 | 270 | //--- flash to pic icon--- |
271 | 271 | var btn = document.createElement("div"); |
272 | 272 | btn.setAttribute("class", "piccolumn5"); |
273 | 273 | var a = document.createElement('a'); |
274 | 274 | a.href = localURL+'/pic?action=upgrade&name='+files[i].name+'&version='+files[i].version; |
| 275 | + a.setAttribute("data-tooltip", "Install"); |
275 | 276 | var img = document.createElement('img'); |
276 | 277 | img.src = localURL+'/system_update.png' |
277 | 278 | img.style.width = '16px'; |
278 | 279 | img.style.height = 'auto'; |
279 | 280 | img.setAttribute=("alt", "Install"); |
280 | 281 | a.appendChild(img); |
281 | | - btn.setAttribute("data-tooltip", "Install"); |
282 | 282 | btn.appendChild(a); |
283 | 283 | rowDiv.appendChild(btn); |
284 | 284 | tableDiv.appendChild(rowDiv); |
|
0 commit comments