huginn/app
Dominik Sander dc9d16812b Fix dry-run modal when clicking on icon in 'Dry Run' button
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.
2017-09-16 13:01:35 +02:00
..
assets Fix dry-run modal when clicking on icon in 'Dry Run' button 2017-09-16 13:01:35 +02:00
concerns Do not instantiate all records when liquidizing a record collection 2017-09-08 21:04:30 +09:00
controllers use of_type 2017-08-01 08:37:59 -04:00
helpers Fix View diagram : Too many agent to display (#1664) (#1935) 2017-03-17 01:43:43 +09:00
importers Fix #1863 validation issue with schedule names (#1864) 2017-01-08 11:13:25 -05:00
jobs Fix the specs on rails5 2016-10-05 22:47:38 +02:00
mailers added options to send plain or html emails 2016-02-29 15:45:51 -05:00
models Handle lazy loading of Agents in gems during Agent.receive! (#2125) 2017-09-16 00:47:57 -07:00
presenters Agent form: ace-editor highlighting and theme (#1727) 2016-10-11 19:25:12 -04:00
validators Improve agent and scenario forms 2016-05-12 09:15:49 +02:00
views Encode screen_name and id_str in URLs 2017-09-15 23:38:54 +09:00