Skip to content

Commit

Permalink
webui: adjust http requests in storage module views
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergkemper committed Apr 17, 2023
1 parent d251b9e commit 59922ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions webui/module/Storage/view/storage/storage/details.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* bareos-webui - Bareos Web-Frontend
*
* @link https://github.com/bareos/bareos for the canonical source repository
* @copyright Copyright (c) 2013-2020 Bareos GmbH & Co. KG (http://www.bareos.org/)
* @copyright Copyright (c) 2013-2023 Bareos GmbH & Co. KG (http://www.bareos.org/)
* @license GNU Affero General Public License (http://www.gnu.org/licenses/)
*
* This program is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -190,7 +190,7 @@ $this->headTitle($title);
locale: '<?php echo str_replace('_','-', $_SESSION['bareos']['locale']); ?>',
cookie: <?php echo $_SESSION['bareos']['dt_statesave']; ?>,
cookieIdTable: 'ie_slots',
url: '<?php echo $this->url('storage', array('action' => 'getData'), null) . '?data=statusslots&storage=' . $this->storagename; ?>',
url: '<?php echo $this->url('api/storage', array(), array()) . '?storage=' . $this->storagename; ?>',
method: 'get',
dataType: 'json',
showRefresh: true,
Expand Down Expand Up @@ -237,7 +237,7 @@ $this->headTitle($title);
locale: '<?php echo str_replace('_','-', $_SESSION['bareos']['locale']); ?>',
cookie: <?php echo $_SESSION['bareos']['dt_statesave']; ?>,
cookieIdTable: 'drive_slots',
url: '<?php echo $this->url('storage', array('action' => 'getData'), null) . '?data=statusslots&storage=' . $this->storagename; ?>',
url: '<?php echo $this->url('api/storage', array(), array()) . '?storage=' . $this->storagename; ?>',
method: 'get',
dataType: 'json',
showRefresh: true,
Expand Down Expand Up @@ -283,7 +283,7 @@ $this->headTitle($title);
locale: '<?php echo str_replace('_','-', $_SESSION['bareos']['locale']); ?>',
cookie: <?php echo $_SESSION['bareos']['dt_statesave']; ?>,
cookieIdTable: 'normal_slots',
url: '<?php echo $this->url('storage', array('action' => 'getData'), null) . '?data=statusslots&storage=' . $this->storagename; ?>',
url: '<?php echo $this->url('api/storage', array(), array()) . '?storage=' . $this->storagename; ?>',
method: 'get',
dataType: 'json',
pagination : true,
Expand Down
2 changes: 1 addition & 1 deletion webui/module/Storage/view/storage/storage/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ $this->headTitle($title);
locale: '<?php echo str_replace('_','-', $_SESSION['bareos']['locale']); ?>',
cookie: <?php echo $_SESSION['bareos']['dt_statesave']; ?>,
cookieIdTable: 'storage_index',
url: '<?php echo $this->url('storage', array('action' => 'getData'), null) . '?data=all'; ?>',
url: '<?php echo $this->url('api/storage', array(), array()); ?>',
method: 'get',
dataType: 'json',
pagination : true,
Expand Down

0 comments on commit 59922ae

Please sign in to comment.