summaryrefslogtreecommitdiffstats
path: root/extensions/Push/web
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Push/web')
-rw-r--r--extensions/Push/web/admin.css4
-rw-r--r--extensions/Push/web/admin.js7
2 files changed, 11 insertions, 0 deletions
diff --git a/extensions/Push/web/admin.css b/extensions/Push/web/admin.css
index c204fa62a..96b3b8da5 100644
--- a/extensions/Push/web/admin.css
+++ b/extensions/Push/web/admin.css
@@ -69,3 +69,7 @@
text-align: right !important;
}
+.action-button {
+ display: inline;
+}
+
diff --git a/extensions/Push/web/admin.js b/extensions/Push/web/admin.js
index 599bfd742..cf1c69e7d 100644
--- a/extensions/Push/web/admin.js
+++ b/extensions/Push/web/admin.js
@@ -35,3 +35,10 @@ function reset_to_defaults() {
}
}
}
+
+$(function() {
+ $('#deleteMessage input[type=submit]')
+ .click(function(event) {
+ return confirm('Are you sure you want to delete this message forever (a long time)?');
+ });
+});