去除at功能,合并

This commit is contained in:
guange 2015-12-07 15:05:51 +08:00
parent 1a2aff99be
commit 71a5504017
2 changed files with 1 additions and 2 deletions

View File

@ -147,6 +147,7 @@ class IssuesController < ApplicationController
#2. project persons
@at_persons = @journals.map(&:user) + @issue.project.users
@at_persons = @at_persons.uniq{|u| u.id}.delete_if{|u| u.id == User.current.id}
@at_persons = nil
respond_to do |format|``
format.html {

View File

@ -8,11 +8,9 @@ function enableAt(_editor) {
var doc = ifr.contentDocument || iframe.contentWindow.document;
var ifrBody = doc.body;
ifrBody.contentEditable = true;
console.log("enable at");
$.fn.atwho.debug = true;
if(!atPersonLists){
return;
}