diff options
author | pafcu <pafcu@iki.fi> | 2015-01-05 01:31:52 +0200 |
---|---|---|
committer | pafcu <pafcu@iki.fi> | 2015-01-05 01:31:52 +0200 |
commit | fc72762f52a5c3aec2f06b49153392333cacba2f (patch) | |
tree | 6e81d731d9059327b13f62e342d142daff5856a6 /view/js | |
parent | 3983348b96c1b41154e413998760de98606a4b72 (diff) | |
parent | c14dc699ae749b5242f1ce14847a1db4c0eebc30 (diff) | |
download | volse-hubzilla-fc72762f52a5c3aec2f06b49153392333cacba2f.tar.gz volse-hubzilla-fc72762f52a5c3aec2f06b49153392333cacba2f.tar.bz2 volse-hubzilla-fc72762f52a5c3aec2f06b49153392333cacba2f.zip |
Merge pull request #819 from pafcu/acl
Fix initEditor on non-wall pages
Diffstat (limited to 'view/js')
-rw-r--r-- | view/js/autocomplete.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js index 259dca1bc..cc14f75d1 100644 --- a/view/js/autocomplete.js +++ b/view/js/autocomplete.js @@ -43,7 +43,8 @@ function replace(item) { * jQuery plugin 'contact_autocomplete' */ (function( $ ){ - $.fn.contact_autocomplete = function(backend_url, extra_channels = null) { + $.fn.contact_autocomplete = function(backend_url, extra_channels) { + if (typeof extra_channels === 'undefined') extra_channels = false; // Autocomplete contacts contacts = { |