mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-15 19:31:26 +00:00
tl;dr: By using `e.currentTarget` instead of `e.target` we ensure to always pass the `button` element to `Utils.handleDryRunButton`. `target` refers to the actual element the user clicked on, we then passed the glyphicon span to `Utils.handleDryRunButton` which requested `window.location` via ajax because `$(button).data('action-url')` returned `undefined`. Evaluating the whole page then triggered `Error: rails-ujs has already been loaded!`, as a result the user can not interact with anything that requires `rails-ujs`, `jquery` or bootstrap javascript. |
||
---|---|---|
.. | ||
assets | ||
concerns | ||
controllers | ||
helpers | ||
importers | ||
jobs | ||
mailers | ||
models | ||
presenters | ||
validators | ||
views |