From 86ab84da7898f681e2d2a1d8e260bbac14339793 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 11 Oct 2011 16:50:54 +0200 Subject: Ajax spinner for the widget example --- src/site-media/img/ajax-loader.gif | Bin 0 -> 3208 bytes src/site-media/js/jquery.meetingtools.js | 2 +- src/templates/apps/room/widget.html | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 src/site-media/img/ajax-loader.gif (limited to 'src') diff --git a/src/site-media/img/ajax-loader.gif b/src/site-media/img/ajax-loader.gif new file mode 100644 index 0000000..3c2f7c0 Binary files /dev/null and b/src/site-media/img/ajax-loader.gif differ 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 += ""; }); html += ""; - 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> -- cgit v1.1