var currentId = 1;
FormIDProvider.getCurrentId = function (raw)
{
if (raw)
{
return currentId;
}
return 'form-field-' + md5.createHash(currentId);
};
The console says:
RangeError: Invalid array length
at convertToWordArray (/assets/js/angular/angular-md5.js:88:28)
at Object.md5.createHash (/assets/js/angular/angular-md5.js:114:13)
This code will throw some js errors:
The console says:
As a workaround, this will help: