projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Roomedit - Sharing: remove lines unneeded
[citadel.git]
/
webcit
/
static
/
t
/
room
/
edit
/
shared_room_removal.html
diff --git
a/webcit/static/t/room/edit/shared_room_removal.html
b/webcit/static/t/room/edit/shared_room_removal.html
index 2be39295bf97ea4e0216cdc85e2b78e4251f7afc..4b660263597f7c04736d1e5bc861b416ca91874c 100644
(file)
--- a/
webcit/static/t/room/edit/shared_room_removal.html
+++ b/
webcit/static/t/room/edit/shared_room_removal.html
@@
-1,6
+1,8
@@
<script type="text/javascript">
<script type="text/javascript">
-document.getElementById("ignet_share_node_add__<?CONTEXTSTRARR(#"GNET_IGNET_NODE", "U")>").style.display = "none";
+<?#("if we already have this room, you can't add it anymore.")>
+remove_something('ignet_share_node_add__<?CONTEXTSTRARR(#"GNET_IGNET_NODE", "U")>', "hidden");
</script>
</script>
+
<form method="post" action="netedit">
<input type="hidden" name="nonce" value="<?NONCE>" />
<tr>
<form method="post" action="netedit">
<input type="hidden" name="nonce" value="<?NONCE>" />
<tr>
@@
-17,4
+19,3
@@
document.getElementById("ignet_share_node_add__<?CONTEXTSTRARR(#"GNET_IGNET_NODE
</td>
</tr>
</form>
</td>
</tr>
</form>
-