Skip to content

Commit

Permalink
commented pub/unpub alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicola1971 committed Dec 16, 2017
1 parent a08fcb1 commit 08bd73b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install/assets/plugins/DashboardDocList.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -179,15 +179,15 @@ $("#TableList").on("click", ".btn-unpublish", function(){
trID = $(this).closest("tr").attr("id");
r = confirm("' . $_lang["unpublish_resource"] . ' ID:"+trID+" - ' . $_lang["confirm_unpublish"] . '");
if(r) {
alert(trID+" ' . $_LDlang["unpublished"] . '");
// alert(trID+" ' . $_LDlang["unpublished"] . '");
window.location.reload();
}
});
$("#TableList").on("click", ".btn-publish", function(){
trID = $(this).closest("tr").attr("id");
r = confirm("' . $_lang["publish_resource"] . ' ID:"+trID+" - ' . $_lang["confirm_publish"] . '");
if(r) {
alert(trID+" ' . $_LDlang["published"] . '");
//alert(trID+" ' . $_LDlang["published"] . '");
window.location.reload();
}
});
Expand Down

0 comments on commit 08bd73b

Please sign in to comment.