diff options
author | Sarven Capadisli <csarven@status.net> | 2010-01-08 16:51:18 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-01-08 16:51:18 +0000 |
commit | febe64625e1f5f771715a024e267db42d11a5d5e (patch) | |
tree | 12e59d6d3486763b57dfc8bdaf06cd8d77aa07c8 /js | |
parent | 17913d44277c5fd2099709981abf7407e9fdd65b (diff) |
Focus on the notice textarea after share, minimize, close button actions
Diffstat (limited to 'js')
-rw-r--r-- | js/util.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/js/util.js b/js/util.js index 98718e73f..4e588a3b6 100644 --- a/js/util.js +++ b/js/util.js @@ -589,6 +589,8 @@ var SN = { // StatusNet $('#'+SN.C.S.NoticeDataGeoSelected).remove(); + $('#'+SN.C.S.NoticeDataText).focus(); + return false; }); @@ -607,6 +609,8 @@ var SN = { // StatusNet }; $.cookie(SN.C.S.NoticeDataGeoCookie, JSON.stringify(cookieValue)); + $('#'+SN.C.S.NoticeDataText).focus(); + return false; }); @@ -679,6 +683,8 @@ var SN = { // StatusNet else { removeNoticeDataGeo(); } + + $('#'+SN.C.S.NoticeDataText).focus(); }).change(); } }, |