Fix some enhancements & new features
This commit is contained in:
9
build/js/include/layout/message.js
Normal file
9
build/js/include/layout/message.js
Normal file
@@ -0,0 +1,9 @@
|
||||
function errorMessage(message)
|
||||
{
|
||||
|
||||
var message = (typeof(message) != 'undefined') ? message : translate.getText.please_contact_the_administrator;
|
||||
if ( typeof(screenErrors) != 'undefined' ) {
|
||||
screenErrors.execute('error', translate.getText.an_error_occured+'.<br>'+message+'.');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user