aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/CHANGELOG.md
diff options
context:
space:
mode:
authorMathieu <mathieu.mahe@gmail.com>2018-04-01 19:15:36 +0700
committerMathieu <mathieu.mahe@gmail.com>2018-04-01 19:15:36 +0700
commite9aa7ecdee0aa7bb4dcfa5046881bde2f1fe21cc (patch)
tree149976d8e878915890388c9884c06671dd477bb1 /actionview/CHANGELOG.md
parent8d93107ba2554a9206a651ff2b96f2a87b061d14 (diff)
downloadrails-e9aa7ecdee0aa7bb4dcfa5046881bde2f1fe21cc.tar.gz
rails-e9aa7ecdee0aa7bb4dcfa5046881bde2f1fe21cc.tar.bz2
rails-e9aa7ecdee0aa7bb4dcfa5046881bde2f1fe21cc.zip
Extract the confirm call in its own, overridable method in rails_ujs
Diffstat (limited to 'actionview/CHANGELOG.md')
-rw-r--r--actionview/CHANGELOG.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md
index f44f03f40d..393de562a2 100644
--- a/actionview/CHANGELOG.md
+++ b/actionview/CHANGELOG.md
@@ -1,3 +1,11 @@
+* Extract the `confirm` call in its own, overridable method in `rails_ujs`.
+ Example :
+ Rails.confirm = function(message, element) {
+ return (my_bootstrap_modal_confirm(message));
+ }
+
+ *Mathieu Mahé*
+
* Enable select tag helper to mark `prompt` option as `selected` and/or `disabled` for `required`
field. Example: