Daniel
Daniel

Reputation: 35684

x-editable force data sending

I've got a select with two choices that doesn't update the selected value after I send request. Because the value stays, I cannot send the next change, because it thinks it's the original choice.

I've even updated the selected field manually, but it still doesn't recognize as a changed value, so it doesn't send.

Upvotes: 0

Views: 589

Answers (1)

Silver Paladin
Silver Paladin

Reputation: 106

There is an option for x-editable since version 1.2 called savenochange.

Example:

$(document).ready(function () {
    $('.img-thumbnail').editable({savenochange: true});
});

Documentation: X-Editable Options

Upvotes: 1

Related Questions