README.md in abracadabra-1.0.7 vs README.md in abracadabra-1.0.8
- old
+ new
@@ -92,11 +92,11 @@
# Description: Content type -- responds to any content type (:js and :script can both be
# used to respond with Javascript).
# Default: :script (:js)
# IMPORTANT: On ajax:success, this will remove the specific abracadabra instance from
-# the DOM entirely.
+# the DOM entirely. ALSO, this will be remote if the main form is remote.
deletable: true
# Boolean: DELETE will be submitted without a confirmation dialog
# OR
deletable: "Are you sure?"
# String: Confirmation dialog, with the string as the message, will be displayed after
@@ -107,17 +107,22 @@
deletable_path: user_path(@user)
# Description: Specifies where the form will be submitted.
# Default: path (uses the same path as the main form if `deletable_path` isn't declared).
+deletable_type: :js
+# Description: Deletable content type -- responds to any content type (:js and :script
+# can both be used to respond with Javascript).
+# Default: :script (:js)
+
# Boolean: Open the next abracadabra instance after successful form submission (main
# form, not the DELETE link's submission) by using `.abracadabra` as the selector.
tab_to_next: true
# OR
tab_to_next: ".my-class"
# IMPORTANT: If this is a class, this abracadabra instance MUST have the same class
# as well.
-# String: The class or ID of the next abracadabra instance to open on succesful form
+# String: The class or ID of the next abracadabra instance to open on successful form
# submission. Use `.` before a class selector or `#` before a an ID selector just as you
# would when finding an element in Javascript.
# Description: Puts a link to DELETE the object (obviously, it always uses DELETE as the
# HTTP verb).
# Default: false