# HG changeset patch # User one # Date 1349342853 -32400 # Node ID ffe70c0f1948dc3d3efd21bf54782770959d9542 # Parent 3295c9fe2b3a2ba93a6ddbecd712b48a1851f27f modified public/viewer/index.html diff -r 3295c9fe2b3a -r ffe70c0f1948 logs/application.log --- a/logs/application.log Thu Oct 04 18:22:10 2012 +0900 +++ b/logs/application.log Thu Oct 04 18:27:33 2012 +0900 @@ -40,3 +40,9 @@ 2012-10-04 17:56:30,585 - [INFO] - from play in play-akka.actor.default-dispatcher-1 Application started (Dev) +2012-10-04 18:12:18,235 - [INFO] - from application in play-akka.actor.default-dispatcher-1 +Application shutdown... + +2012-10-04 18:12:18,250 - [INFO] - from play in play-akka.actor.default-dispatcher-1 +Application started (Dev) + diff -r 3295c9fe2b3a -r ffe70c0f1948 public/viewer/index.html --- a/public/viewer/index.html Thu Oct 04 18:22:10 2012 +0900 +++ b/public/viewer/index.html Thu Oct 04 18:27:33 2012 +0900 @@ -8,10 +8,15 @@ var viewer_url="viewer.html"; $(function(){ popupInit(); - var u=$('#loginUserName'); - u.val(localStorage.userName||''); - u.focus(); $('body')[0].onresize=function(){placementUpdate()}; + if(localStorage.userName){ + login(localStorage.userName); + }else{ + var u=$('#loginUserName'); + $("#loginPopup").css("display","block"); + u.val(localStorage.userName||''); + u.focus(); + } }); var loadedClaimIDs={}; @@ -167,7 +172,7 @@ a.claim:hover{box-shadow:0 0 30px white;} -