mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:17:02 +02:00
added a piler daemon reload button to the policy pages. Thx for Jack Zielke for the idea
This commit is contained in:
@ -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]");
|
||||
|
Reference in New Issue
Block a user