using user_info.php instead of open_user fn
This commit is contained in:
parent
b48cd0c5a6
commit
e329026fc7
@ -18,6 +18,13 @@
|
|||||||
|
|
||||||
$("#left_panel").on("click", ".output", function(event)
|
$("#left_panel").on("click", ".output", function(event)
|
||||||
{
|
{
|
||||||
open_user(event.target.innerHTML);
|
$.ajax
|
||||||
|
({
|
||||||
|
url: "./res/forum/api/user_info.php?username=" + event.target.innerHTML,
|
||||||
|
success: function(result)
|
||||||
|
{
|
||||||
|
$("#right_panel").html(result);
|
||||||
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
Loading…
x
Reference in New Issue
Block a user