Mercurial > kallithea
diff rhodecode/controllers/changeset.py @ 2368:5143b8df576c beta
Added mentions autocomplete into main comments form
- recompiled yui.2.9.js using google compiler
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 01 Jun 2012 18:34:32 +0200 |
parents | 3052f90c568a |
children | bc2d8c03c050 |
line wrap: on
line diff
--- a/rhodecode/controllers/changeset.py Fri Jun 01 17:59:57 2012 +0200 +++ b/rhodecode/controllers/changeset.py Fri Jun 01 18:34:32 2012 +0200 @@ -47,6 +47,7 @@ from rhodecode.model.comment import ChangesetCommentsModel from rhodecode.model.meta import Session from rhodecode.lib.diffs import wrapped_diff +from rhodecode.model.repo import RepoModel log = logging.getLogger(__name__) @@ -165,6 +166,9 @@ def __before__(self): super(ChangesetController, self).__before__() c.affected_files_cut_off = 60 + repo_model = RepoModel() + c.users_array = repo_model.get_users_js() + c.users_groups_array = repo_model.get_users_groups_js() def index(self, revision):