fixed little typo (closes #87)

This commit is contained in:
Steffen Vogel 2011-07-03 15:43:55 +02:00
parent 1d698f8992
commit 18dfad1071

View file

@ -93,7 +93,7 @@ vz.wui.dialogs.init = function() {
json.entities.each(function(index, json) {
var entity = new Entity(json);
$('#entity-public-entity').append(
$('<option>').html(entity.title).data('entity', entity)
$('<option>').html(entity.title).val(entity.uuid).data('entity', entity)
);
});
}
@ -143,7 +143,7 @@ vz.wui.dialogs.init = function() {
}
});
$('#entity-subscribe-public input[type=button]').click(function() {
$('#entity-public input[type=button]').click(function() {
var entity = $('#entity-public-entity:selected').data('entity');
try {