Focus on the notice textarea after share, minimize, close button actions

This commit is contained in:
Sarven Capadisli 2010-01-08 16:51:18 +00:00
parent 17913d4427
commit febe64625e

View File

@ -589,6 +589,8 @@ var SN = { // StatusNet
$('#'+SN.C.S.NoticeDataGeoSelected).remove(); $('#'+SN.C.S.NoticeDataGeoSelected).remove();
$('#'+SN.C.S.NoticeDataText).focus();
return false; return false;
}); });
@ -607,6 +609,8 @@ var SN = { // StatusNet
}; };
$.cookie(SN.C.S.NoticeDataGeoCookie, JSON.stringify(cookieValue)); $.cookie(SN.C.S.NoticeDataGeoCookie, JSON.stringify(cookieValue));
$('#'+SN.C.S.NoticeDataText).focus();
return false; return false;
}); });
@ -679,6 +683,8 @@ var SN = { // StatusNet
else { else {
removeNoticeDataGeo(); removeNoticeDataGeo();
} }
$('#'+SN.C.S.NoticeDataText).focus();
}).change(); }).change();
} }
}, },