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

+5 -3
View File
@@ -80,7 +80,7 @@ _quickpm.prototype.quickpm = {
evalJSON: 'force',
onSuccess: function(t)
{
if( t.responseJSON['error'] )
if( t.responseJSON && t.responseJSON['error'] )
{
switch( t.responseJSON['error'] )
{
@@ -101,7 +101,7 @@ _quickpm.prototype.quickpm = {
}
else
{
popup.update( t.responseJSON['success'] );
popup.update( t.responseText );
popup.positionPane();
popup.show();
@@ -142,9 +142,11 @@ _quickpm.prototype.quickpm = {
'value': $F('pm_subject_' + ipb.quickpm.sendingToUser),
'name': 'msg_title'
});
//[code]<b>test</b>[/code]
var val = $F('pm_textarea_' + ipb.quickpm.sendingToUser).replace( /<script/ig, '&lt; script' ).replace( /<\/script/ig, '&lt; /script' );
val = val.replace( /</g, '&lt;' ).replace( />/g, '&gt;' );
$( form ).insert( post ).insert( subject ).setStyle('position: absolute; left: -500px; top: 0');
$( post ).update( val );
$$('body')[0].insert( form );