AnanthaKN / jquery-in-place-editor

Automatically exported from code.google.com/p/jquery-in-place-editor
Other
0 stars 0 forks source link

Can not save NULL value #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
$('.edit_time').editInPlace({
                params: 'work_id=$work_id',
                update_value: 'work_time',
                url: 'processor.php',
                show_buttons: true,
                default_text: '[edit time]',
                value_required: false,
                save_if_nothing_changed: true
                });

What is the expected output? What do you see instead?
The function (processor.php) will not be called if the value is left blank. 
Once a value is entered, 
you can not erase it, it MUST be filled with something or it will not call the 
function.

What version of the product are you using? On what operating system?
2.1.1, Mac OS 10.6.3, running PHP, MySQL and Apache

Please provide any additional information below.
Maybe I'm missing something in the documentation? Thanks very much for the 
great script!

Original issue reported on code.google.com by robertea...@gmail.com on 18 May 2010 at 3:51

GoogleCodeExporter commented 9 years ago
Have you had a look at the setting "value_required" and 
"save_if_nothing_changed"?

Please feel free to reopen this issue if that doesn't solve your problem.

Original comment by mhaec...@gmail.com on 22 May 2010 at 4:25