Skip to content

Commit

Permalink
webui: rename the getJobActions function to attachJobActionsTable
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergkemper committed Mar 12, 2020
1 parent 936aee0 commit be3292a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions webui/module/Job/view/job/job/actions.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ $this->headTitle($title);

var jobactions = null;

function getJobActions() {
function attachJobActionsTable() {
jobactions = $('#jobactions').bootstrapTable({
locale: '<?php echo str_replace('_','-', $_SESSION['bareos']['locale']); ?>',
cookie: <?php echo $_SESSION['bareos']['dt_statesave']; ?>,
Expand All @@ -127,7 +127,9 @@ $this->headTitle($title);
sidePagination: 'client',
pageList: [ <?php echo $_SESSION['bareos']['dt_lengthmenu']; ?> ],
pageSize: <?php echo $_SESSION['bareos']['dt_pagelength']; ?>,
search: true,
search: false,
showPaginationSwitch: true,
showRefresh: true,
sortName: 'name',
sortOrder: 'asc',
columns: [
Expand Down Expand Up @@ -176,7 +178,7 @@ $this->headTitle($title);
setDtTextDomain('<?php echo $this->basePath() . '/js/locale'; ?>');
setDtLocale('<?php echo $_SESSION['bareos']['locale']; ?>');

getJobActions();
attachJobActionsTable();

});

Expand Down

0 comments on commit be3292a

Please sign in to comment.