diff options
| author | Michael Peter Christen <mc@yacy.net> | 2014-12-28 14:36:43 +0100 |
|---|---|---|
| committer | Michael Peter Christen <mc@yacy.net> | 2014-12-28 14:36:43 +0100 |
| commit | d9603039ff6eb03ec7cd7633b1aacc22dec9fffe (patch) | |
| tree | e8d3b742442cd99cb29e95b036b5c623ae1a33ce | |
| parent | 8600ea01dd2e165f391f06da9c4f9aa89114f098 (diff) | |
automatically set the Q flag for smb/ftp start urls (split pdf support)
| -rw-r--r-- | htroot/js/IndexCreate.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 = "<a href='http://localhost:8090/api/getpageinfo_p.xml?actions=title,robots&url=" + url + "' id='apilink'><img src='/env/grafics/api.png' width='60' height='40' alt='API'/></a><span>See the page info about the start url.</span>"; } |
