Commit graph

14 commits

Author SHA1 Message Date
Dominik Sander
ea2a5e3456 Upgrade jquery.jsoneditor to handle null values
Fixes the editor in dry-runs when working with events that include
`null` values.

https://github.com/cantino/jsoneditor/pull/3
2017-09-17 12:10:12 +02:00
Dominik Sander
517e42c9d2 Replace jquery.serializeObject with new implementation
The old serializeObject function serialized checked checkboxes as an array which was not correct and with
strong_parameters enabled it triggered a `UnpermittedParameters` error.

In the AgentEditPage javascript we only need to initialize `select2` when then `#agent_type` field is a select
box (trying to call `select2` on normal text fields caused a javascript error in the feature specs)
2016-09-21 20:05:18 +02:00
Dominik Sander
4eabcca235 Added spec for the FormConfigurableAgentPresenter 2014-11-02 01:23:42 +01:00
Andrew Cantino
df6fcdce11 update to newest json editor 2014-09-24 21:10:35 -07:00
Andrew Cantino
a7ed5b5307 Nicer formatting of JSONEditor; minor tweeks; Scenarios show up in the quick navigation menu 2014-06-14 17:49:44 -07:00
Maximilian Clarke
bd1a01eb4d Upgrade to Bootstrap 3.1.1 2014-05-01 10:32:29 +02:00
Andrew Cantino
a5321938e7 comment on touchstart.dropdown e.stopPropagation 2014-01-09 22:23:54 -08:00
KenYN
eebd46d662 Quick'n'dirty patch to address touchscreen issues
The code taken from here:

https://github.com/twbs/bootstrap/pull/5067#issuecomment-8604323
2014-01-09 15:59:27 +09:00
Andrew Cantino
403db15b35 Fix a bug where JSON was lost when saving invalid options 2013-09-30 21:42:20 -07:00
Andrew Cantino
c35cc4135e Minor css 2013-09-01 17:50:08 -06:00
Andrew Cantino
00727fbd4d add Agent Logs; add logging to WebsiteAgent; refactor flash notices and add event notices 2013-08-24 22:46:57 -06:00
Andrew Cantino
86b5b1f203 Use select2 for type selection; switch to showing JSON for event information 2013-08-08 12:30:17 -07:00
Andrew Cantino
d3f0cea86f fix max scrollbar in json editor 2013-05-05 22:37:06 -07:00
Andrew Cantino
620acffa5a initial commit 2013-03-09 22:36:12 -08:00