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
igorrosenberg
changed the title
(easy) make CRUD-dedicated JS only applicable to heartbeat CRUD pages
Make CRUD-dedicated JS only applicable to heartbeat CRUD pages
Feb 21, 2018
Difficulty
Easy
Where
In javascript: search for
$('.test.button').click
.Problem
Reach of JS functions must be encapsulated. Ideally, it must be impossible to apply HeartBeat-related JS code to DOM nodes outside of the plugin
Proposal
As a first approach, limit the JS function to the heartbeat CRUD, via a CSS selector.
Subtasks:
The text was updated successfully, but these errors were encountered: