Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Jan 15, 2024
1 parent 09e7247 commit ffd472c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions view/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ function removeQueueItem(id) {
},
formatters: {
"priority": function(column, row) {
var tag = "<select class='priority' rowId='" + row.id + "'>";
var tag = "<select class='priority form-control' rowId='" + row.id + "'>";
for (i = 1; i <= 10; i++) {
var selected = "";
if (row.priority == i) {
Expand All @@ -996,7 +996,7 @@ function removeQueueItem(id) {
return tag;
},
"admin": function(column, row) {
var tag = "<select class='isAdmin' rowId='" + row.id + "'>";
var tag = "<select class='isAdmin form-control' rowId='" + row.id + "'>";
tag += "<option value='1' " + (row.isAdmin == "1" ? "selected" : "") + "><?php echo __('Yes'); ?></option>";
tag += "<option value='0' " + (row.isAdmin == "1" ? "" : "selected") + "><?php echo __('No'); ?></option>";
tag += "</select>";
Expand Down

0 comments on commit ffd472c

Please sign in to comment.