From fa27ec21c184f318ac44c2484da013e1923d1589 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 30 Jun 2011 22:04:33 +0200 Subject: [PATCH] fixed #86 --- htdocs/frontend/index.html | 20 ++++++++++---------- htdocs/frontend/javascripts/entity.js | 3 +++ htdocs/frontend/javascripts/wui.js | 22 +++++++++++++++------- 3 files changed, 28 insertions(+), 17 deletions(-) diff --git a/htdocs/frontend/index.html b/htdocs/frontend/index.html index 903011f..64559dd 100644 --- a/htdocs/frontend/index.html +++ b/htdocs/frontend/index.html @@ -128,31 +128,31 @@

Hier können Sie einen existierenden Kanal über seine UUID hinzufügen

- - + +
-

+

-
+

Hier können Sie öffentliche Kanäle abonnieren.

- - + +
-

+

- - + + diff --git a/htdocs/frontend/javascripts/entity.js b/htdocs/frontend/javascripts/entity.js index b8c342a..0d1578a 100644 --- a/htdocs/frontend/javascripts/entity.js +++ b/htdocs/frontend/javascripts/entity.js @@ -214,6 +214,9 @@ Entity.prototype.getDOMRow = function(parent) { .bind('change', this, function(event) { var state = $(this).attr('checked'); + event.data.active = state; + $('#entity-' + event.data.uuid + ((parent) ? '.child-of-entity-' + parent.uuid : '') + ' input[type=checkbox]'); + event.data.each(function(entity, parent) { $('#entity-' + entity.uuid + ((parent) ? '.child-of-entity-' + parent.uuid : '') + ' input[type=checkbox]') .attr('checked', state); diff --git a/htdocs/frontend/javascripts/wui.js b/htdocs/frontend/javascripts/wui.js index 578dd87..4f93ca4 100644 --- a/htdocs/frontend/javascripts/wui.js +++ b/htdocs/frontend/javascripts/wui.js @@ -92,7 +92,7 @@ vz.wui.dialogs.init = function() { if (json.entities.length > 0) { json.entities.each(function(index, json) { var entity = new Entity(json); - $('#entity-subscribe-public select#public').append( + $('#entity-public-entity').append( $('
EigenschaftWert
Middleware:
Typ:
Middleware:>
Typ:
Öffentlich: ja   nein
Titel:
Auflösung: