since commit takes commit(true, data.new_id_from_db)
is the below possible ?
updateRow: (rowid, newdata, commit) ->
$.ajax(
..
).done(
(updated_data) ->
commit(true, updated_data)
)
updated_data
is the JSON Object
from the database in which fields like lastupdated_on, etc.. might have changed. updatebounddata
essentially does a GET
again for the entire set, can that be prevented ?
Regards,