|
|
|
@ -383,13 +383,13 @@
|
|
|
|
|
$(document).ready(function ($) {
|
|
|
|
|
$("#content .menu-div:first~ div").first().find("a").attr("target", "_blank");
|
|
|
|
|
$('[mode=all]').click(function (event) {
|
|
|
|
|
window.location.href = '<%=user_activities_url%>';
|
|
|
|
|
window.location.href = '<%=user_url(@user)%>';
|
|
|
|
|
});
|
|
|
|
|
$('[mode=myself]').click(function (event) {
|
|
|
|
|
window.location.href = '<%=user_activities_url(type: 1)%>';
|
|
|
|
|
window.location.href = '<%=user_url(@user, type: 1)%>';
|
|
|
|
|
});
|
|
|
|
|
$('[mode=respond]').click(function (event) {
|
|
|
|
|
window.location.href = '<%=user_activities_url(type: 2)%>';
|
|
|
|
|
window.location.href = '<%=user_url(@user, type: 2)%>';
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
</script>
|