We had a working app with JS and made a simple update but are now getting
an unexpected error. Hoping you can help.
We removed a single item (FLU) from the array and now this JS is returning
an error.
Before the update:
Array.prototype.contains = function(obj) { var i = this.length; while (i--)
{ if (this == obj) { return true; } } return false;};arrValues =
['COL', 'AWV2', 'AWV1', 'BCS', 'REDFALLRSK', 'CDCEYE', 'OSTEO',
'RHEUMARTH', 'FLU'];arrValues.contains([current_member_behavior.ukey]);
After the update:
Array.prototype.contains = function(obj) { var i = this.length; while (i--)
{ if (this == obj) { return true; } } return false;};arrValues =
['COL', 'AWV2', 'AWV1', 'BCS', 'REDFALLRSK', 'CDCEYE', 'OSTEO',
'RHEUMARTH'];arrValues.contains([current_member_behavior.ukey]);
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics