added a piler daemon reload button to the policy pages. Thx for Jack Zielke for the idea

This commit is contained in:
SJ
2013-04-17 17:23:20 +02:00
parent 676f479d23
commit b92431b0e1
15 changed files with 98 additions and 3 deletions

View File

@ -774,6 +774,18 @@ var Piler =
},
reload_piler:function()
{
Piler.log("[reload_piler]");
jQuery.ajax('index.php?route=policy/apply', { cache: true })
.done( function(a) {
$('#applyChangesOutput').html(a);
})
.fail(function(a, b) { alert("Problem retrieving XML data:" + b) });
},
assemble_folder_restrictions: function()
{
Piler.log("[assemble_folder_restrictions]");