Mercurial > hg > rlgwebd
comparison options.js @ 133:99fbc7c55b81
Options-related UI improvements.
Hide as-yet-unnecessary elements on the options page, and link the
home and options pages from each other.
author | John "Elwin" Edwards <elwin@sdf.org> |
---|---|
date | Wed, 12 Sep 2012 16:03:09 -0700 |
parents | a2e071a95055 |
children |
comparison
equal
deleted
inserted
replaced
132:823e878e5840 | 133:99fbc7c55b81 |
---|---|
13 setstatus("You are not logged in."); | 13 setstatus("You are not logged in."); |
14 } | 14 } |
15 else { | 15 else { |
16 setstatus("You are logged in as " + reply.u + "."); | 16 setstatus("You are logged in as " + reply.u + "."); |
17 document.getElementById("input_email").value = reply["email"]; | 17 document.getElementById("input_email").value = reply["email"]; |
18 document.getElementById("switch").style.display = "block"; | 18 //document.getElementById("switch").style.display = "block"; |
19 } | 19 } |
20 } | 20 } |
21 req.open('GET', url, true); | 21 req.open('GET', url, true); |
22 req.send(); | 22 req.send(); |
23 } | 23 } |