From c8357a6364b40da04fac565b935d74725d6842ca Mon Sep 17 00:00:00 2001 From: lizanle <491823689@qq.com> Date: Thu, 8 Oct 2015 13:51:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=B9=E9=87=8F=E4=BF=AE=E6=94=B9tag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/files/index.html.erb | 1 + public/javascripts/course.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/files/index.html.erb b/app/views/files/index.html.erb index 3825a9b09..ac0c50980 100644 --- a/app/views/files/index.html.erb +++ b/app/views/files/index.html.erb @@ -255,6 +255,7 @@ isdb = false; //这是单击 node = document.elementFromPoint(e.clientX, e.clientY); if(node.tagName == "INPUT"){ //如果是输入框的聚焦,那么就不要进行下去了 + isdb = true; // return; } if($("#renameTagName")[0] != undefined ){//存在renameTagName,则处于编辑状态 diff --git a/public/javascripts/course.js b/public/javascripts/course.js index 6102801df..3818d447d 100644 --- a/public/javascripts/course.js +++ b/public/javascripts/course.js @@ -752,7 +752,7 @@ function search_tag_attachment(url,tag_name,q,course_id,sort) //clearTimeout(clickFunction); clickFunction = setTimeout(function() { search_func() - }, 200); + }, 500); function search_func(){ if(isdb!= false ) return; $.get(