You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I subscribed the rating.change event to send data via ajax when the user rate a page. But the user just can rate if it follows the page, so i start the rating plugin with { disabled: true }. When user follows the page, the system enables the rating plugin with rating('refresh', { disabled: false }).
The problem is after calling rating('refresh'), the subscribed event doesn't work more. Is this the expected behavior?
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I subscribed the rating.change event to send data via ajax when the user rate a page. But the user just can rate if it follows the page, so i start the rating plugin with { disabled: true }. When user follows the page, the system enables the rating plugin with rating('refresh', { disabled: false }).
The problem is after calling rating('refresh'), the subscribed event doesn't work more. Is this the expected behavior?
The text was updated successfully, but these errors were encountered: