diff options
author | Leif Johansson <leifj@sunet.se> | 2011-10-11 16:50:54 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-10-11 16:50:54 +0200 |
commit | 86ab84da7898f681e2d2a1d8e260bbac14339793 (patch) | |
tree | eecc11bc7abd13747511ad6cf62b0b8f8b187850 | |
parent | 5c09bf241caa797ce10b01fde9db75556d4d6db2 (diff) |
Ajax spinner for the widget example
-rw-r--r-- | src/site-media/img/ajax-loader.gif | bin | 0 -> 3208 bytes | |||
-rw-r--r-- | src/site-media/js/jquery.meetingtools.js | 2 | ||||
-rw-r--r-- | src/templates/apps/room/widget.html | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/src/site-media/img/ajax-loader.gif b/src/site-media/img/ajax-loader.gif Binary files differnew file mode 100644 index 0000000..3c2f7c0 --- /dev/null +++ b/src/site-media/img/ajax-loader.gif diff --git a/src/site-media/js/jquery.meetingtools.js b/src/site-media/js/jquery.meetingtools.js index 4259d9f..d892b03 100644 --- a/src/site-media/js/jquery.meetingtools.js +++ b/src/site-media/js/jquery.meetingtools.js @@ -30,7 +30,7 @@ jQuery.fn.meetingtools = function(options) { html += "</li>"; }); html += "</ul>"; - div.append(html); + div.html(html); }); diff --git a/src/templates/apps/room/widget.html b/src/templates/apps/room/widget.html index 5b96b53..ee5ea75 100644 --- a/src/templates/apps/room/widget.html +++ b/src/templates/apps/room/widget.html @@ -39,7 +39,7 @@ </head> <body> <h1>Meetings...</h1> - <div id="meetings"/> + <div id="meetings"><img src="{% baseurl %}/site-media/img/ajax-loader.gif"/></div> </body> </html> </pre> |