reports: Fix bug in SLA "dis"abling
commit2c5155b19ea087f033aad406cec81474ad4783d4
authorRobin Sonefors <robin.sonefors@op5.com>
Tue, 29 Apr 2014 16:48:10 +0000 (29 18:48 +0200)
committerRobin Sonefors <robin.sonefors@op5.com>
Wed, 30 Apr 2014 11:54:32 +0000 (30 13:54 +0200)
treeabc0faa2cb3a423dad632de8270d3184f1035369
parent1ee7c0d6db88a5826ab173c50a76c758647f2b3a
reports: Fix bug in SLA "dis"abling

I goofed when I tried to make the code less confusing, and ended up
only trying to enable inputs for custom timeperiods when the input was
*not* valid.

Change-Id: Iec7c2da632a7d62adaf7bac6541dfc548fb8756b
Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
application/views/reports/js/common.js