Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8475071
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:47:46+00:00 2026-06-10T17:47:46+00:00

Good morning! I use Backbone.js 0.9.2 (and CakePHP). My model has 4 fields: id

  • 0

Good morning!

I use Backbone.js 0.9.2 (and CakePHP). My model has 4 fields: id, name, description and image_id. I add models with a name and a description and get the id and image_id from the server response and the proper change events fire (name and description first and id and image_id later).

Now, when I edit something two PUTs are sent (the resource in this case is CookingUtensils/144).

I see one change event for the field I edited and another general one (change only and not change:description, change:name etc). I don’t understand why. Both PUT requests have exactly the same body.

  • My model: https://gist.github.com/3385347
  • My views: https://gist.github.com/3385345
  • My collection: https://gist.github.com/3385344

I simply cannot figure out what is going on. Thank you for reading. Any help would be greatly appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T17:47:48+00:00Added an answer on June 10, 2026 at 5:47 pm

    Is save() firing twice – once for the enter key, and once again onBlur?

    Since the values only change once (the first time), you’ll only get one change event. put a console.log on the save method and print out the event. Or, a breakpoint in chrome debugger/firebug and see what the stack is – what triggered the save. –

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Django dynamic model fields Good Morning guys! Scenario is the following. For
Good morning, I have to use the properties from DeviceNetworkInformation in my application. (http://msdn.microsoft.com/en-us/library/microsoft.phone.net.networkinformation.devicenetworkinformation(v=vs.92).aspx)
Good morning, I am taking over from someone who has been using the Entity
Good morning ! What is the best way to remove duplicate records from grid
Good morning / afternoon, I have a problem with LDAP connector, when I use
Good Morning, Has anyone attempted to convert/migrate an ASP.net MVC web application project to
Good morning. I have the following conditions in radiobutton <td> @Html.RadioButtonFor(model => model.ImagensSelecionadas, new
We use Auto Scaling and it works pretty good for us, but this morning
Good morning, I am trying to local test my web application, which makes use
Good Morning, I'm trying to use the Bootstrap Button Group to group a family

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.