]> git.ozlabs.org Git - patchwork/blobdiff - htdocs/js/common.js
[html] Consolidate js files
[patchwork] / htdocs / js / common.js
diff --git a/htdocs/js/common.js b/htdocs/js/common.js
new file mode 100644 (file)
index 0000000..c87a5f9
--- /dev/null
@@ -0,0 +1,6 @@
+
+function confirm_delete(type, name)
+{
+       return confirm("Are you sure you want to delete the " + type +
+                       " '" + name + "'?");
+}