diff options
author | Noah Loomans <noahloomans@gmail.com> | 2016-12-14 12:19:59 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2016-12-14 12:19:59 +0100 |
commit | e3f1a6a2c3534c3133f412f1b86f7398f3b4f40c (patch) | |
tree | fa2e526929c83691fe6ee51b86f1c5a258c11c1d /public/javascripts/schedule.js | |
parent | 746abfd1827bf7d6d51c231b5509d5f609e71f07 (diff) |
add favorite
Diffstat (limited to 'public/javascripts/schedule.js')
-rw-r--r-- | public/javascripts/schedule.js | 4 |
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 |