Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Item Handler getting overwritten
shr
Hi,
I have the following events triggered on the same item but performing different functions, coming from 2 different .js files
(1) IWEventRegistry.addItemHandler(ReplicantParentPath + '/' + ReplicantItemName,'onItemChange',checkDuplicates); - coming from the fieldValidation.js
(2) IWEventRegistry.addItemHandler(ReplicantParentPath + '/' + ReplicantItemName,'onItemChange',removeRankingValues);- coming from the ranking.js
Because they are on the same item the first itemHandler is getting overwritten by the second itemHandler.
Can somebody give me suggestions as to how to handle the above scenario without each of the item handlers getting overwritten by the other.
Thanks
Find more posts tagged with
Comments
jbonifaci
You'll need to have one of the functions call the other at the end of it.