Version 3.3.4
This commit is contained in:
1 parent
78706903a2
commit
fb6b5baabc
2206 files changed
+409828
-382984
No files matched your search
@@ -217,14 +217,14 @@ function IPBTemplateDiff()
|
||||
*/
|
||||
this.timeOutAjax = function( t )
|
||||
{
|
||||
if ( confirm( "Нет ответа от сервера.\nХотите подождать?" ) )
|
||||
if ( confirm( "No response from the webserver.\nDo you wish to continue waiting?" ) )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
t.transport.abort();
|
||||
alert( "Запрос отменен" );
|
||||
alert( "Request Cancelled" );
|
||||
}
|
||||
};
|
||||
|
||||
@@ -233,7 +233,7 @@ function IPBTemplateDiff()
|
||||
*/
|
||||
this.failureAjax = function( t )
|
||||
{
|
||||
alert( "Ошибка: " + t.responseText );
|
||||
alert( "Failure: " + t.responseText );
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -241,7 +241,7 @@ function IPBTemplateDiff()
|
||||
*/
|
||||
this.exceptionAjax = function( t )
|
||||
{
|
||||
alert( "Исключение: " + t.responseText );
|
||||
alert( "Exception: " + t.responseText );
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -255,7 +255,7 @@ function IPBTemplateDiff()
|
||||
/* Not a JSON response? */
|
||||
if ( ! t.responseText.match( /^(\s+?)?\{/ ) )
|
||||
{
|
||||
alert( "Ошибка:\n" + t.responseText );
|
||||
alert( "Error:\n" + t.responseText );
|
||||
Debug.write( t );
|
||||
return;
|
||||
}
|
||||
@@ -265,7 +265,7 @@ function IPBTemplateDiff()
|
||||
|
||||
if ( json['error'] )
|
||||
{
|
||||
alert( "Ошибка: " . json['error'] );
|
||||
alert( "An error occurred: " . json['error'] );
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user