enunezcv3 / homepage-customization

0 stars 1 forks source link

Error Message: a problem ocurred while retrieving items (Communities Lists) #11

Open enunezcv3 opened 6 years ago

enunezcv3 commented 6 years ago

hi @ibmcndev , I applied a .JSON about FilpCard Customization on Communities several weeks ago and the result was success

image

but I have this error message from last week when I use the extension:

image

There was some change in the environment of the cloud that is affecting me the execution of .JS ?

MartinDonnelly commented 6 years ago

I can reproduce the issue. Looks like there is a bad version of the flip card JavaScript file floating around. If you load the flipcard example from the global-samples repo then it will work fine. There was a modified version in some repos (think-attendee-xx) that caused this problem to occur because the waitFor() code had been removed. Thus the flipcard JS manipulation occurred too early in the life cycle before the DOM was finalized and this error occurred, Options: a) Update your JSON to load the JS customization from the global-samples repo - "include-files": [ "flipCard/commListCardsFlipStyle.user.js" ], "include-repo": { "name": "global-samples" } b) Replace your local version (i.e. the JS file in the repo your are using) with the correct JS attached here - be careful to ensure that you do NOT overwrite any other changes you might have made locally since forking the original code.

commListCardsFlipStyle.good.txt