去除at功能,合并
This commit is contained in:
parent
1a2aff99be
commit
71a5504017
|
@ -147,6 +147,7 @@ class IssuesController < ApplicationController
|
||||||
#2. project persons
|
#2. project persons
|
||||||
@at_persons = @journals.map(&:user) + @issue.project.users
|
@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 = @at_persons.uniq{|u| u.id}.delete_if{|u| u.id == User.current.id}
|
||||||
|
@at_persons = nil
|
||||||
|
|
||||||
respond_to do |format|``
|
respond_to do |format|``
|
||||||
format.html {
|
format.html {
|
||||||
|
|
|
@ -8,11 +8,9 @@ function enableAt(_editor) {
|
||||||
var doc = ifr.contentDocument || iframe.contentWindow.document;
|
var doc = ifr.contentDocument || iframe.contentWindow.document;
|
||||||
var ifrBody = doc.body;
|
var ifrBody = doc.body;
|
||||||
ifrBody.contentEditable = true;
|
ifrBody.contentEditable = true;
|
||||||
|
|
||||||
console.log("enable at");
|
console.log("enable at");
|
||||||
|
|
||||||
$.fn.atwho.debug = true;
|
$.fn.atwho.debug = true;
|
||||||
|
|
||||||
if(!atPersonLists){
|
if(!atPersonLists){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue