Commit d040f423 by Kim Eunchul

#39714 andやor検索(ウェブ版error処理)

parent c58e05a5
...@@ -5,6 +5,7 @@ var HEADER = {}; ...@@ -5,6 +5,7 @@ var HEADER = {};
HEADER.timeWaitCloseNewInfoPushMessage = 5000; // time wait close info new push message 5 seconds HEADER.timeWaitCloseNewInfoPushMessage = 5000; // time wait close info new push message 5 seconds
HEADER.currentPagePushMessage = 1; HEADER.currentPagePushMessage = 1;
HEADER.isHoverOn = false; HEADER.isHoverOn = false;
HEADER.click = true;
$(document).ready(function () { $(document).ready(function () {
...@@ -240,6 +241,21 @@ HEADER.toggleSearchPanel = function(){ ...@@ -240,6 +241,21 @@ HEADER.toggleSearchPanel = function(){
} }
}; };
HEADER.overClick = function() {
if (HEADER.click) {
HEADER.click = !HEADER.click;
// prevent clicking for 2 sec
setTimeout(function () {
HEADER.click = true;
}, 1000)
return false;
} else {
return true;
}
}
//Button Search Event function //Button Search Event function
HEADER.searchHeaderButtonFunction = function(){ HEADER.searchHeaderButtonFunction = function(){
var content = $('#searchbox-content').attr('checked'); var content = $('#searchbox-content').attr('checked');
...@@ -254,7 +270,7 @@ HEADER.searchHeaderButtonFunction = function(){ ...@@ -254,7 +270,7 @@ HEADER.searchHeaderButtonFunction = function(){
return; return;
} }
if(CONTENTSEARCH.overClick()){ if(HEADER.overClick()){
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment