version 1.28, 2019/05/02 02:12:18
|
version 1.29, 2019/05/02 23:09:39
|
Line 981 function extUrlPreview(caller,protocol)
|
Line 981 function extUrlPreview(caller,protocol)
|
http.onreadystatechange = function() { |
http.onreadystatechange = function() { |
if (http.readyState == 4) { |
if (http.readyState == 4) { |
if (http.status == 200) { |
if (http.status == 200) { |
if (http.responseText == 1) { |
if (http.responseText.length > 0) { |
noiframe = 1; |
if (http.responseText == 1) { |
} else if (http.responseText == -1) { |
noiframe = 1; |
nopriv = 1; |
} else if (http.responseText == -1) { |
} else if (http.responseText == 0) { |
nopriv = 1; |
badurl = 1; |
} else if (http.responseText == 0) { |
|
badurl = 1; |
|
} |
} |
} |
openPreviewWindow(url,name,noiframe,mixed,nopriv,badurl); |
openPreviewWindow(url,name,noiframe,mixed,nopriv,badurl); |
} |
} |