Adds color to event types

This commit is contained in:
Chrisbr 2014-06-12 16:24:24 +02:00
parent e34a972b74
commit bf4758a54a
5 changed files with 15 additions and 1 deletions

View file

@ -109,6 +109,13 @@ $(function() {
},
5)
});
$('a:contains("Add event_type")').click(function () {
setTimeout(function () {
$("div.nested-fields:last div:nth-of-type(5) input").val(get_color());
},
5)
});
});
function get_color() {