aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/schedule.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-12-14 12:19:59 +0100
committerNoah Loomans <noahloomans@gmail.com>2016-12-14 12:19:59 +0100
commite3f1a6a2c3534c3133f412f1b86f7398f3b4f40c (patch)
treefa2e526929c83691fe6ee51b86f1c5a258c11c1d /public/javascripts/schedule.js
parent746abfd1827bf7d6d51c231b5509d5f609e71f07 (diff)
add favorite
Diffstat (limited to 'public/javascripts/schedule.js')
-rw-r--r--public/javascripts/schedule.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/public/javascripts/schedule.js b/public/javascripts/schedule.js
index e181e00..e3944f8 100644
--- a/public/javascripts/schedule.js
+++ b/public/javascripts/schedule.js
@@ -1,4 +1,6 @@
const leftPad = require('left-pad')
+const autocomplete = require('./autocomplete')
+const search = require('./search')
const self = {}
@@ -46,6 +48,8 @@ self.viewItem = function (week, selectedUser) {
request.addEventListener('error', self._handleError)
request.open('GET', url, true)
request.send()
+
+ search.updateDom(selectedUser)
}
module.exports = self