View | Details | Raw Unified | Return to bug 10511
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc (-3 / +3 lines)
Lines 7-12 Link Here
7
				newid = Number(rowid.replace("none","")) 
7
				newid = Number(rowid.replace("none","")) 
8
          $("#sms"+newid).removeAttr("checked");
8
          $("#sms"+newid).removeAttr("checked");
9
          $("#email"+newid).removeAttr("checked");
9
          $("#email"+newid).removeAttr("checked");
10
          $("#phone"+newid).removeAttr("checked");
10
          $("#digest"+newid).removeAttr("checked");
11
          $("#digest"+newid).removeAttr("checked");
11
          $("#rss"+newid).removeAttr("checked");
12
          $("#rss"+newid).removeAttr("checked");
12
			}
13
			}
Lines 99-110 Link Here
99
                 <input type="checkbox"
100
                 <input type="checkbox"
100
                 id="phone[% messaging_preference.message_attribute_id %]"
101
                 id="phone[% messaging_preference.message_attribute_id %]"
101
                 name="[% messaging_preference.message_attribute_id %]"
102
                 name="[% messaging_preference.message_attribute_id %]"
102
                 value="phone" checked="checked" onclick = "$('#none'+'[% messaging_preference.message_attribute_id %]').attr('checked','');" />
103
                 value="phone" checked="checked" onclick = "$('#none'+'[% messaging_preference.message_attribute_id %]').removeAttr('checked','');" />
103
              [% ELSE %]
104
              [% ELSE %]
104
                 <input type="checkbox"
105
                 <input type="checkbox"
105
                 id="phone[% messaging_preference.message_attribute_id %]"
106
                 id="phone[% messaging_preference.message_attribute_id %]"
106
                 name="[% messaging_preference.message_attribute_id %]"
107
                 name="[% messaging_preference.message_attribute_id %]"
107
                 value="phone" onclick = "$('#none'+'[% messaging_preference.message_attribute_id %]').attr('checked','');" />
108
                 value="phone" onclick = "$('#none'+'[% messaging_preference.message_attribute_id %]').removeAttr('checked','');" />
108
              [% END %]
109
              [% END %]
109
          [% END %]
110
          [% END %]
110
      </td>[% END %]
111
      </td>[% END %]
111
- 

Return to bug 10511