diff --git a/src/containers/editable-container.js b/src/containers/editable-container.js index 651eb22..0029eba 100644 --- a/src/containers/editable-container.js +++ b/src/containers/editable-container.js @@ -359,12 +359,12 @@ Applied as jQuery method. **/ autohide: true, /** - Action when user clicks outside the container. Can be <code>cancel|submit|ignore</code> - Setting <code>ignore</code> ignore allows to have several containers open. + Action when user clicks outside the container. Can be <code>cancel|submit|ignore</code>. + Setting <code>ignore</code> allows to have several containers open. @property onblur @type string - @default cancel + @default 'cancel' **/ onblur: 'cancel' }; diff --git a/src/editable-form/editable-form.js b/src/editable-form/editable-form.js index dcf661f..a2db423 100644 --- a/src/editable-form/editable-form.js +++ b/src/editable-form/editable-form.js @@ -443,8 +443,8 @@ Editableform is linked with one of input types, e.g. 'text' or 'select'. **/ ajaxOptions: null, /** - Wether to show buttons or not. - Form without buttons can be submitted by Enter (depends on input), by onblur = 'submit' or manually (via submit api method) + Wether to show buttons or not. + Form without buttons can be auto-submitted by input or by onblur = 'submit'. @property showbuttons @type boolean diff --git a/src/element/editable-element.js b/src/element/editable-element.js index 0e2cfe5..bd23548 100644 --- a/src/element/editable-element.js +++ b/src/element/editable-element.js @@ -473,7 +473,7 @@ Makes editable any HTML element on the page. Applied as jQuery method. $.fn.editable.defaults = { /** - Type of input. Can be <code>text|textarea|select|date</code> + Type of input. Can be <code>text|textarea|select|date|checklist</code> and more @property type @type string @@ -489,8 +489,8 @@ Makes editable any HTML element on the page. Applied as jQuery method. **/ disabled: false, /** - How to toggle editable. Can be <code>click|dblclick|mouseenter|manual</code>. - When set to <code>manual</code> you should manually call <code>show/hide</code> methods of editable. + How to toggle editable. Can be <code>click|dblclick|mouseenter|manual</code>. + When set to <code>manual</code> you should manually call <code>show/hide</code> methods of editable. **Note**: if you call <code>show</code> or <code>toggle</code> inside **click** handler of some DOM element, you need to apply <code>e.stopPropagation()</code> because containers are being closed on any click on document. @@ -535,7 +535,7 @@ Makes editable any HTML element on the page. Applied as jQuery method. **/ enablefocus: false, /** - Initial value of input + Initial value of input. Taken from <code>data-value</code> or element's text. @property value @type mixed