diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/js/index.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js index e139d16748..9b48c24cd3 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -1408,7 +1408,11 @@ $(document).ready(function () { // Helpers. $('.delete-button').click(function () { var $this = $(this); - $('.delete.modal').modal({ + var filter = ""; + if ($this.attr("id")) { + filter += "#"+$this.attr("id") + } + $('.delete.modal'+filter).modal({ closable: false, onApprove: function () { if ($this.data('type') == "form") { |