From: Sarven Capadisli Date: Fri, 8 Jan 2010 16:51:18 +0000 (+0000) Subject: Focus on the notice textarea after share, minimize, close button actions X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=febe64625e1f5f771715a024e267db42d11a5d5e;p=quix0rs-gnu-social.git Focus on the notice textarea after share, minimize, close button actions --- diff --git a/js/util.js b/js/util.js index 98718e73f1..4e588a3b63 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(); } },