horizon/openstack_dashboard/utils
Sam Betts ec27165a8d Fix date pickers in metering modal
The metering forms were using the date picker functionality from the
d3 line chart library, this used to work when it was loaded as a whole
page as the d3 libary would run intending to setup any d3 graphs however
now it is being loaded as a modal the elements that would be affected by
the d3 code do not exist at page load time.

In order to get the date picker events to be added to the elements on
the form when the modal loads, the JS in the forms template has been
extended in this patch to support adding those events.

This patch also changes the data attributes on the form elements so that
they do not conflict with any d3 line chart elements.

Alongside the javascript this patch fixes bug to do with parsing the
dates in metering utils and adds UTs to prevent regression.

Change-Id: I4e239daa03b2f54e434254bac48ba0cceb037b5d
Closes-Bug: 1427756
(cherry picked from commit 0d010f601c)
2015-06-26 10:42:07 +02:00
..
__init__.py Neutron Security Group native support 2013-07-12 21:03:40 +09:00
filters.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
metering.py Fix date pickers in metering modal 2015-06-26 10:42:07 +02:00
settings.py Merge "Fix replacement of exception category list" 2015-03-28 05:14:07 +00:00