"manifest_version": 2,
"minimum_chrome_version": "22",
"name": "Web Power Switch Manager",
- "version": "1.1",
+ "version": "1.2",
"description": "Quickly control Web Power Switches",
"icons": {
"128": "images/outlet-128x128.png"
row = tbl.insertRow(-1);
cell = row.insertCell(-1);
- cell.innerText = outlet_name + ':';
+ if (outlet_name === '')
+ cell.innerHTML = '<i>unnamed</i>';
+ else
+ cell.innerText = outlet_name + ':';
cell = row.insertCell(-1);
button = document.createElement('input');
button.type = 'button';