ユーザーがアイテムをクリックするforeach(over Foos)テーブルがあり、このメソッドは次のように呼び出されます。
AddFoo = function (addingItem) {
var addingItem = jQuery.extend(true, {}, existingObservableBoundToJqueryDialogue);
this.Foos.push(addingItem); //EditingItem is bound to the add dialogue, and I want a new observable with the same properties not bound to the dialogue
};
私が抱えている問題は、テーブル内のこのオブザーバブル(新しいaddingItem)を編集すると、この方法で追加されたすべてのアイテム(各addingItem)が変更されることです。