Fix Room-edit-Template; thanks to Sam for reporting.
authorWilfried Goesgens <dothebart@citadel.org>
Tue, 11 Jan 2011 22:17:49 +0000 (23:17 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 4 Sep 2011 13:55:37 +0000 (13:55 +0000)
  - the original code used inverse logic for this checkbox case, the template didn't reflect this.

webcit/static/t/room/edit/tab_config.html

index 44c8c04fbdf37f017e0e61a7bcee03a5e4e2db95..0a6891c4a2df66424b88461faeef1e575603b18c 100644 (file)
@@ -17,7 +17,7 @@
                                <ul>
                                        <li>
                                                <input type="radio" name="type" value="public" 
-                                                      <?%("COND:THISROOM:FLAG:QR", 3, #"QR_PRIVATE | QR_MAILBOX", 1, 'disabled="disabled" ', "")>
+                                                      <?%("COND:THISROOM:FLAG:QR", 3, #"QR_PRIVATE | QR_MAILBOX", 1, "", 'checked="checked" ')>
                                                       onChange="if (this.form.type[0].checked == true) { this.form.er_floor.disabled = false; }" />
                                                <?_("Public (automatically appears to everyone)")>
                                        </li>