Skip to content

Commit

Permalink
set the button right
Browse files Browse the repository at this point in the history
  • Loading branch information
mhzawadi committed Dec 21, 2024
1 parent effe826 commit 3a48703
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/public/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ function delete_application(id){
document.getElementById("del_applicationID").value = id;
document.getElementById("frm_app_delete").submit();
}

function app_sort(){
window.location.assign("/applications/sort")
}
4 changes: 1 addition & 3 deletions src/view/edit_apps.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@
</div>
<div class="ActionButton_ActionButtonName__32SDW">Add</div>
</div>
</div>
<div class="Apps_ActionsContainer__1Nn5v">
<div class="ActionButton_ActionButton__3Ckgw" tabindex="0" onclick="window.location.assign("/applications/sort")">
<div class="ActionButton_ActionButton__3Ckgw" tabindex="0" onclick="app_sort()">
<div class="ActionButton_ActionButtonIcon__oPDrT">
<span class="iconify" data-icon="mdi:plus-box" data-width="18"></span>
</div>
Expand Down

0 comments on commit 3a48703

Please sign in to comment.