summaryrefslogtreecommitdiffstats
path: root/htdocs/js
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2008-09-23 20:52:53 +1000
committerJeremy Kerr <jk@ozlabs.org>2008-09-23 20:52:53 +1000
commit750c03f854ace16cd013c189369aa0cf9d3bdd9d (patch)
tree91415c0436e8e901461fe65a88a3504b102b2e57 /htdocs/js
parentdff684304a35c14e23d89783d18e1664222b3fcb (diff)
downloadpatchwork-750c03f854ace16cd013c189369aa0cf9d3bdd9d.tar.bz2
patchwork-750c03f854ace16cd013c189369aa0cf9d3bdd9d.tar.xz
[views] Restructure profile view, simplify bundle access
Make bundles more like todo lists - the list itself has its own page, accessible from the top user links. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'htdocs/js')
-rw-r--r--htdocs/js/confirm.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/htdocs/js/confirm.js b/htdocs/js/confirm.js
new file mode 100644
index 0000000..cbc91b3
--- /dev/null
+++ b/htdocs/js/confirm.js
@@ -0,0 +1,5 @@
+function confirm_delete(type, name)
+{
+ return confirm("Are you sure you want to delete the " + type +
+ " '" + name + "'?");
+}