updating listmap

This commit is contained in:
rolux 2011-06-01 11:18:38 +02:00
parent 6312380ba0
commit d9db7f1888

View file

@ -354,6 +354,7 @@ Ox.ListMap = function(options, self) {
}) })
.appendTo(self.$placeTitle); .appendTo(self.$placeTitle);
// fixme: form should have a change event
self.$placeFormItems = Ox.merge([ self.$placeFormItems = Ox.merge([
Ox.Input({ Ox.Input({
id: 'name', id: 'name',
@ -656,6 +657,7 @@ Ox.ListMap = function(options, self) {
Ox.forEach(values, function(value, key) { Ox.forEach(values, function(value, key) {
if (key != 'id') { if (key != 'id') {
self.$list.value(values.id, key, value); self.$list.value(values.id, key, value);
self.$map.value(values.id, key, value);
} }
}); });
} }