summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-08 16:51:18 +0000
committerSarven Capadisli <csarven@status.net>2010-01-08 16:51:18 +0000
commitfebe64625e1f5f771715a024e267db42d11a5d5e (patch)
tree12e59d6d3486763b57dfc8bdaf06cd8d77aa07c8 /js
parent17913d44277c5fd2099709981abf7407e9fdd65b (diff)
Focus on the notice textarea after share, minimize, close button actions
Diffstat (limited to 'js')
-rw-r--r--js/util.js6
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();
}
},