From da3ed55584f81d0c285b8139d078e0560a89737c Mon Sep 17 00:00:00 2001 From: gebele Date: Wed, 31 Aug 2011 12:25:47 +0200 Subject: fixed function redirect for policy management --- public/javascripts/toxcreate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/javascripts/toxcreate.js b/public/javascripts/toxcreate.js index ddd18df..2b28d8f 100755 --- a/public/javascripts/toxcreate.js +++ b/public/javascripts/toxcreate.js @@ -188,7 +188,7 @@ jQuery.fn.updatePolicy = function(options) { 'select': select }, success: function(data) { - $("div#model_" + opts.id + "_name").html(data); + $("div#model_" + opts.id + "_policy_edit").html(data); $("input#model_" + opts.id + "_name").focus(); $('body').css('cursor','default'); }, @@ -224,7 +224,7 @@ jQuery.fn.addPolicy = function(options) { 'selection': selection }, success: function(data) { - $("div#model_" + opts.id + "_name").html(data); + $("div#model_" + opts.id + "_policy_edit").html(data); $("input#model_" + opts.id + "_name").focus(); $('body').css('cursor','default'); }, -- cgit v1.2.3