Merge pull request #6 from cp6/dev
Fixed wrong url for DNS & up/down calls
This commit is contained in:
commit
aa4a4f9b0d
6
assets/js/scripts.min.js
vendored
6
assets/js/scripts.min.js
vendored
|
@ -270,7 +270,7 @@ $(document).on("click", "#fillIpv4", function () {
|
||||||
if (host_name) {
|
if (host_name) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
url: "get_ip.php",
|
url: "calls.php",
|
||||||
data: {"type" : "dns_search", "hostname": host_name, "type": "A"},
|
data: {"type" : "dns_search", "hostname": host_name, "type": "A"},
|
||||||
success: function (result) {
|
success: function (result) {
|
||||||
$('#ipv4').val(result);
|
$('#ipv4').val(result);
|
||||||
|
@ -280,7 +280,7 @@ $(document).on("click", "#fillIpv4", function () {
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
url: "get_ip.php",
|
url: "calls.php",
|
||||||
data: {"type" : "dns_search", "hostname": host_name, "type": "AAAA"},
|
data: {"type" : "dns_search", "hostname": host_name, "type": "AAAA"},
|
||||||
success: function (result) {
|
success: function (result) {
|
||||||
if (result != ''){
|
if (result != ''){
|
||||||
|
@ -300,7 +300,7 @@ $(document).on("click", "#checkUpStatus", function () {
|
||||||
if (host_name) {
|
if (host_name) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
url: "check_up.php",
|
url: "calls.php",
|
||||||
data: {"type": "check_up", "host": host_name},
|
data: {"type": "check_up", "host": host_name},
|
||||||
success: function (result) {
|
success: function (result) {
|
||||||
if (result == 1) {
|
if (result == 1) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user