diff --git a/src/editable-form/editable-form.js b/src/editable-form/editable-form.js index 25d59b7..c01be75 100644 --- a/src/editable-form/editable-form.js +++ b/src/editable-form/editable-form.js @@ -265,7 +265,7 @@ Editableform is linked with one of input types, e.g. 'text', 'select' etc. this.options.pk = $.fn.editableutils.tryParseJson(this.options.pk, true); var pk = (typeof this.options.pk === 'function') ? this.options.pk.call(this.options.scope) : this.options.pk, - send = !!(typeof this.options.url === 'function' || (this.options.url && ((this.options.send === 'always') || (this.options.send === 'auto' && pk)))), + send = !!(typeof this.options.url === 'function' || (this.options.url && ((this.options.send === 'always') || (this.options.send === 'auto' && pk !== null)))), params; if (send) { //send to server @@ -558,4 +558,4 @@ Editableform is linked with one of input types, e.g. 'text', 'select' etc. //error class attached to editable-error-block $.fn.editableform.errorBlockClass = 'editable-error'; -}(window.jQuery)); \ No newline at end of file +}(window.jQuery));