Follow

Remove the "Error:" word from Error message in StiMvcViewer

It possible to remove the Error: word from error message in StiMvcViewer with next code:

JavaScript
jsMvcViewer1.showError = function (text) 
{
	if (text != null && text.substr(0, 6) == "Error:") 
	{
		alert(text.substr( 6));
		return true;
	}
	return false;
}

0 Comments

Please sign in to leave a comment.