diff --git a/htroot/js/IndexCreate.js b/htroot/js/IndexCreate.js index ff6f9c14a..b51f772cf 100644 --- a/htroot/js/IndexCreate.js +++ b/htroot/js/IndexCreate.js @@ -77,7 +77,7 @@ function loadInfos() { document.getElementById("ajax").setAttribute("src",AJAX_ON); url=document.getElementById("crawlingURL").value; - //if (url.indexOf("ftp") == 0 || url.indexOf("smb") == 0) document.getElementById("crawlingQ").disabled=true; else document.getElementById("crawlingQ").disabled=false; + if (url.indexOf("ftp") == 0 || url.indexOf("smb") == 0) document.getElementById("crawlingQ").checked = true; // since the pdf parser update for page separation, we need to set this sndReq('/api/getpageinfo_p.xml?actions=title,robots&url='+url); document.getElementById("api").innerHTML = "APISee the page info about the start url."; }