From 3bdcd009c8817df5275041d5c4d72c716d660456 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sun, 15 Jan 2017 11:11:18 -0800 Subject: add tokenfield for tags --- views/event.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'views/event.php') diff --git a/views/event.php b/views/event.php index 1a11681..a71ce79 100644 --- a/views/event.php +++ b/views/event.php @@ -38,7 +38,7 @@
- +
@@ -56,6 +56,11 @@ $("#start_date .timezone").val(tz_seconds_to_offset(d.getTimezoneOffset() * 60 * -1)); }); + $("#note_category").tokenfield({ + createTokensOnBlur: true, + beautify: true + }); + $("#btn_post").click(function(){ var event_start = $("#start_date .date").val()+"T"+$("#start_date .time").val()+$("#start_date .timezone").val(); -- cgit v1.2.3