From b95453df6f2a5eb73133aca16b80f3d3c3f1cc69 Mon Sep 17 00:00:00 2001 From: edersonbrilhante Date: Wed, 24 Aug 2016 20:29:41 -0300 Subject: [PATCH] fix delete real in new pool(vip request) --- .../VipRequest/templates/vip-request/form_pool.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CadVlan/VipRequest/templates/vip-request/form_pool.html b/CadVlan/VipRequest/templates/vip-request/form_pool.html index e5d8f5bd..569c4452 100644 --- a/CadVlan/VipRequest/templates/vip-request/form_pool.html +++ b/CadVlan/VipRequest/templates/vip-request/form_pool.html @@ -98,7 +98,7 @@ $(".numbersOnly").live('focusout', function(){ this_element = $(this); - $(this).next().click(function(){ + $(this).next().click(function(){ update_port_vips(this_element); }); }); @@ -133,14 +133,14 @@ }); $("#table_real").off("click", "tbody tr span") - $("#table_real").on("change", "tbody tr span", function(e) { + $("#table_real").on("click", "tbody tr span", function(e) { if (confirm('Deseja realmente excluir o(s) Real selecionado(s)?')){ $(this).parents(".remove_port").remove(); return false; } }); - $("body").off("click", "#id_environment") + $("body").off("change", "#id_environment") $("body").on("change", "#id_environment", function() { $('#id_healthcheck').html(''); @@ -220,7 +220,7 @@ {{ field }} - {% if field.errors %} + {% if field.errors %}

{% for error in field.errors %} {{ error|escape }} @@ -237,7 +237,7 @@ {{ field }} - {% if field.errors %} + {% if field.errors %}

{% for error in field.errors %} {{ error|escape }} @@ -329,4 +329,4 @@ - \ No newline at end of file +