YAWIK
YAWIK copied to clipboard
Application view social profile is always clickable and leads to broken view detail
e.g. http://yawik.org/demo/en/apply/55be11f8c5105c9e5b7b23de
- open menu for facebook
- click on view detail (hint it is clickable and only via css marked as not clickable)
- you will see a modal body with an error message
- attach your facebook profile
- view profile data -> here you will see the error modal from step 3 and not your data
vice versa
- attach your profile
- view details -> modal with information
- detach profile
- view details -> modal from step 2
After reloading the page everything is as expected
the modal content is only loaded once.
Solutions to the problem:
- prevent click events on disabled "view detail"
- clear modal content after detaching and force modal to reload after reattaching.