Version 3.3.4

This commit is contained in:
Neo committed 2025-12-19 00:35:52 -08:00
1 parent 78706903a2
commit fb6b5baabc
2206 files changed
+409828 -382984

No files matched your search

+6 -6
View File
@@ -291,7 +291,7 @@ _hooks.prototype.hooks = {
var url = acp.hooks.fields[ id ]['url'];
if( !url ){ alert("Не возможно сохранить; отсутствует url"); return; }
if( !url ){ alert("Cannot save form; url missing"); return; }
url = ipb.vars['base_url'] + url + '&secure_key=' + ipb.vars['md5_hash'];
url = url.replace( /&/g, '&' );
@@ -339,13 +339,13 @@ _hooks.prototype.hooks = {
{
if( Object.isUndefined( t.responseJSON ) )
{
alert("Ошибка: " + t.responseJSON);
alert("An error occurred: " + t.responseJSON);
return;
}
if( !t.responseJSON['success'] )
{
alert("Ошибка: " + t.responseJSON['error'] );
alert("An error occurred: " + t.responseJSON['error'] );
return;
}
else
@@ -361,10 +361,10 @@ _hooks.prototype.hooks = {
Debug.write("Success");
},
onException: function(t){ alert("Ошибка: " + t.responseText); },
onFailure: function(t){ alert("Ошибка: " + t.responseText ); }
onException: function(t){ alert("An error occurred: " + t.responseText); },
onFailure: function(t){ alert("An error occurred: " + t.responseText ); }
} );
}
};
acp.hooks.init();
acp.hooks.init();