Skip to content

Commit 04c7b2f

Browse files
committed
Merge branch 'delete_page_notification_bug' of github.com:jtwohiou/browsercms into jtwohiou-delete_page_notification_bug
2 parents 4df991b + 8a2f6c2 commit 04c7b2f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/helpers/cms/ui_elements_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ def menu_button(label, path, options={})
7070
options.delete(:enabled)
7171
options[:class] << 'http_put' if options[:method] == :put
7272
options[:class] << 'http_delete' if options[:method] == :delete
73+
options[:class] << 'confirm_with_title' if options[:method] == :delete
74+
7375
options.delete(:method)
7476
copy_title(options, options)
7577
link_to(label, path, options)

0 commit comments

Comments
 (0)