diff options
Diffstat (limited to 'htdocs/js/common.js')
-rw-r--r-- | htdocs/js/common.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/htdocs/js/common.js b/htdocs/js/common.js new file mode 100644 index 0000000..c87a5f9 --- /dev/null +++ b/htdocs/js/common.js @@ -0,0 +1,6 @@ + +function confirm_delete(type, name) +{ + return confirm("Are you sure you want to delete the " + type + + " '" + name + "'?"); +} |