diff index.xhtml @ 17:07543f7f5e89

Retrieve and change the default MAM prefs.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 22 Dec 2018 19:42:42 +0100
parents 3eed9fe0bd7c
children 3c02cbced2df
line wrap: on
line diff
--- a/index.xhtml
+++ b/index.xhtml
@@ -139,11 +139,12 @@ Enter your nickname, so people you know 
 </div>
 <div class="col-sm-8">
 <p>
-<label>Which messages to store in your archive? <select id="mam-prefs" disabled="">
+<label>Which messages to store in your archive? <select id="mam-default">
 <option value="always">All messages</option>
 <option value="never">No messages</option>
 <option value="roster">Messages from your contacts only</option>
-</select></label><br/>
+</select></label>
+<img width="24" height="24" id="mam-prefs-spinner" hidden=""/><br/>
 <table>
 <tr>
 <th>Always:</th>
@@ -186,6 +187,7 @@ Enter your nickname, so people you know 
 <script src="avatar.js"/>
 <script src="pep.js"/>
 <script src="roster.js"/>
+<script src="mam.js"/>
 
 </body>
 </html>