Version 3.4.5

This commit is contained in:
Neo committed 2025-12-19 00:38:12 -08:00
1 parent fb6b5baabc
commit e4478369d8
1360 files changed
+228921 -179445

No files matched your search

+24 -4
View File
@@ -130,13 +130,27 @@ _status.prototype.status = {
return;
}
if( t.responseJSON['error'] )
if ( t.responseJSON && t.responseJSON['error'] )
{
alert( t.responseJSON['error'] );
if( t.responseJSON['error'] == 'prof_comment_mod' )
{
ipb.global.okDialogue( ipb.lang['prof_comment_mod'] );
}
else
{
ipb.global.errorDialogue( t.responseJSON['error'] );
}
}
else
{
try {
try
{
/* Hide the no statuses field if available */
if ( $('noStatusUpdates') && $('noStatusUpdates').visible() )
{
$('noStatusUpdates').hide();
}
$('status_wrapper').innerHTML = t.responseJSON['html'] + $('status_wrapper').innerHTML;
/* Showing latest only? */
@@ -384,6 +398,12 @@ _status.prototype.status = {
{
try {
$('statusMoreWrap-' + status_id ).hide();
if( $( 'statusReplyBlank-' + status_id ) )
{
$( 'statusReplyBlank-' + status_id ).update( '' );
}
$('statusReplies-' + status_id ).update( t.responseJSON['html'] );
if ( t.responseJSON['status_replies'] > 20 )
@@ -434,7 +454,7 @@ _status.prototype.status = {
{
try {
$( 'statusReplyBlank-' + status_id ).show().innerHTML += t.responseJSON['html'];
$('statusText-' + status_id ).value = '';
$( 'statusText-' + status_id ).value = '';
}
catch(err)
{