fixed little typo (closes #87)
This commit is contained in:
parent
1d698f8992
commit
18dfad1071
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue