run users function even if pk not defined
This commit is contained in:
parent
e288aa578d
commit
a5b737e379
@ -184,7 +184,7 @@ Editableform is linked with one of input types, e.g. 'text' or 'select'.
|
||||
|
||||
save: function(value) {
|
||||
var pk = (typeof this.options.pk === 'function') ? this.options.pk.call(this) : this.options.pk,
|
||||
send = !!((this.options.url !== undefined) && (this.options.url !== null) && ((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)))),
|
||||
params;
|
||||
|
||||
if (send) { //send to server
|
||||
|
Loading…
x
Reference in New Issue
Block a user