Changeset 5929
- Timestamp:
- 03/25/10 18:05:02 (3 years ago)
- Location:
- luci/branches/luci-0.9
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
luci/branches/luci-0.9/applications/luci-livestats/luasrc/view/livestats/wireless.htm
r4417 r5929 19 19 return parseFloat(data["Signal level"]) 20 20 - parseFloat(data["Noise level"]); 21 }, "S/N (dB m)"],21 }, "S/N (dB)"], 22 22 23 23 // Graph layout options -
luci/branches/luci-0.9/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
r5314 r5929 16 16 require("luci.sys.zoneinfo") 17 17 require("luci.tools.webadmin") 18 require("luci.fs") 18 19 19 20 m = Map("system", translate("system"), translate("a_s_desc")) … … 73 74 74 75 AbstractValue.write(self, section, value) 75 self.map.uci:set("system", section, "timezone", lookup_zone(value) or "GMT0") 76 local timezone = lookup_zone(value) or "GMT0" 77 self.map.uci:set("system", section, "timezone", timezone) 78 luci.fs.writefile("/etc/TZ", timezone .. "\n") 76 79 end 77 80 -
luci/branches/luci-0.9/themes/base/htdocs/luci-static/resources/Dropdowns.js
r5604 r5929 188 188 } 189 189 } 190 191 XHTML1.addEventListener(document, "click", function() { 192 if (delayHideTimerId) { 193 clearTimeout(delayHideTimerId); 194 delayHideTimerId = 0; 195 delayHide(); 196 } 197 }); 190 198 } 191 199
