diff options
author | gebele <gebele@in-silico.ch> | 2011-08-31 12:25:47 +0200 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2011-08-31 12:25:47 +0200 |
commit | da3ed55584f81d0c285b8139d078e0560a89737c (patch) | |
tree | a95361a6fef6c4e4001a58312c4693a75e0d76da | |
parent | 8b545d419b8ed2f2272ccdac3f9d6a71bde47b51 (diff) |
fixed function redirect for policy management
-rwxr-xr-x | public/javascripts/toxcreate.js | 4 |
1 files 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'); }, |