Version 3.4.5
This commit is contained in:
1 parent
fb6b5baabc
commit
e4478369d8
1360 files changed
+228921
-179445
No files matched your search
@@ -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, '< script' ).replace( /<\/script/ig, '< /script' );
|
||||
|
||||
val = val.replace( /</g, '<' ).replace( />/g, '>' );
|
||||
|
||||
$( form ).insert( post ).insert( subject ).setStyle('position: absolute; left: -500px; top: 0');
|
||||
$( post ).update( val );
|
||||
$$('body')[0].insert( form );
|
||||
|
||||
Reference in new issue
Block a user