Hide nodes which already have sharing from the other table.
authorWilfried Goesgens <dothebart@citadel.org>
Fri, 13 May 2011 14:00:54 +0000 (16:00 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 4 Sep 2011 20:33:03 +0000 (20:33 +0000)
webcit/static/t/room/edit/shared_room_removal.html

index 331876ce0c3cd1d4a7070dbe772a6b75d677e512..1c2f79e83b0d3802ad55150977918b8a8631af8e 100644 (file)
@@ -1,8 +1,5 @@
 <script type="text/javascript">
-/*
-TODO: hide from the other table the column with this ID:
-ignet_share_node_add__<?CONTEXTSTRARR(#"GNET_IGNET_NODE", "U")>
-*/
+document.getElementById("ignet_share_node_add__<?CONTEXTSTRARR(#"GNET_IGNET_NODE", "U")>").style.display  = "none";
 </script>
 <form method="post" action="netedit">
        <input type="hidden" name="nonce" value="<?NONCE>" />