AnanthaKN / jquery-in-place-editor

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

"params" loses passed value on the second call #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I call in-place-editor using this function:

    $(document).ready(function(){
      $("#titolo1").editInPlace({
        url:            "trafiletti-crea2.asp",
        default_text:   "Edit...",
        bg_over:        null,
        field_type:     "textarea",
        saving_image:   "../img/adm/ajax-loader.gif",
        value_required: true,
        params:         "id_articolo=<%=request("id_articolo")%>"
      });
    });

2. Edit the area

What is the expected output? What do you see instead?
The first you edit the area, it passes "id_articolo=2" correctly, but if
you edit it again, "id_articolo=2" seems not to bee passed to the "url"
page, and the update query on the destination page returns error.

What version of the product are you using? On what operating system?
jQuery In Place Editor v1.0.1 on Windows Server 2003 with IIS and classic ASP

Please provide any additional information below.
I patched the problem adding a useless parameter before the one I need; if
I set "params" this way:
"j=j&id_articolo<%=request("id_articolo")%>"
everything seems to work

Original issue reported on code.google.com by mourning...@gmail.com on 24 Feb 2010 at 12:09

GoogleCodeExporter commented 8 years ago
Could you please verify if this still happens with the current version? (2.0.0)

Regards,
Martin

Original comment by mhaec...@gmail.com on 23 Mar 2010 at 10:34

GoogleCodeExporter commented 8 years ago
My tests show that this issue is fixed by the current version.

Please feel free to reopen this issue if I missed something. :)

Original comment by mhaec...@gmail.com on 28 Mar 2010 at 5:47