]> git.ozlabs.org Git - patchwork/blobdiff - htdocs/js/confirm.js
[views] Restructure profile view, simplify bundle access
[patchwork] / htdocs / js / confirm.js
diff --git a/htdocs/js/confirm.js b/htdocs/js/confirm.js
new file mode 100644 (file)
index 0000000..cbc91b3
--- /dev/null
@@ -0,0 +1,5 @@
+function confirm_delete(type, name)
+{
+       return confirm("Are you sure you want to delete the " + type +
+                       " '" + name + "'?");
+}