another tiny fix to close #87

This commit is contained in:
Steffen Vogel 2011-07-03 15:48:07 +02:00
parent 18dfad1071
commit fef62d4134

View file

@ -144,7 +144,7 @@ vz.wui.dialogs.init = function() {
});
$('#entity-public input[type=button]').click(function() {
var entity = $('#entity-public-entity:selected').data('entity');
var entity = $('#entity-public-entity option:selected').data('entity');
try {
entity.cookie = Boolean($('#entity-public-cookie').attr('checked'));