diff options
Diffstat (limited to 'ncp-web/ncp.js')
-rw-r--r-- | ncp-web/ncp.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ncp-web/ncp.js b/ncp-web/ncp.js index 5d60537c..cd28779d 100644 --- a/ncp-web/ncp.js +++ b/ncp-web/ncp.js @@ -127,7 +127,7 @@ $(function() // request $.request('post', 'ncp-launcher.php', { action:'launch', ref:selectedID , - config: $.toJSON(cfg) , + config: $.toJSON(cfg), csrf_token: $( '#csrf-token' ).get( '.value' ) }).then( function success( result ) { @@ -254,6 +254,7 @@ $(function() { $('#poweroff-dialog').hide(); $('#overlay').hide(); + // request $.request('post', 'ncp-launcher.php', { action:'poweroff', csrf_token: $( '#csrf-token' ).get( '.value' ) }).then( |