Index: trunk/extensions/SocialProfile/UserProfile/UserProfilePage.js |
— | — | @@ -3,7 +3,7 @@ |
4 | 4 | */ |
5 | 5 | var posted = 0; |
6 | 6 | function send_message() { |
7 | | - var userTo = document.getElementById( 'user_name_to' ).value; |
| 7 | + var userTo = decodeURIComponent( wgTitle ); //document.getElementById( 'user_name_to' ).value; |
8 | 8 | var encMsg = encodeURIComponent( document.getElementById( 'message' ).value ); |
9 | 9 | var msgType = document.getElementById( 'message_type' ).value; |
10 | 10 | if( document.getElementById( 'message' ).value && !posted ) { |