From 9c59519526e8dd51028262c1b75d1c1518be216e Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 5 Aug 2016 12:44:23 +0200 Subject: [PATCH] show 'show' value when editing attributes --- views/bootstrap/class.AttributeGroupMgr.php | 5 ----- views/bootstrap/class.EditAttributes.php | 8 +++++++- views/bootstrap/class.EditDocument.php | 8 +++++++- views/bootstrap/class.EditFolder.php | 8 +++++++- 4 files changed, 21 insertions(+), 8 deletions(-) diff --git a/views/bootstrap/class.AttributeGroupMgr.php b/views/bootstrap/class.AttributeGroupMgr.php index 13a7aabdf..5047cbe07 100644 --- a/views/bootstrap/class.AttributeGroupMgr.php +++ b/views/bootstrap/class.AttributeGroupMgr.php @@ -244,11 +244,6 @@ $(document).ready( function() { print "" . htmlspecialchars($member->getName()) ." (".$ot.", ".$t.")".""; print ""; $show = $group->getShow($member); - $shows = array(); - for($j=0; $j<4; $j++) { - if(1 << $j & $show) - $shows[] = 1 << $j; - } print "
getID()."\" />getID()."\" />".createHiddenFieldWithKey('setshow'); echo "