Skip to content

Commit

Permalink
Remove duplicated spinner
Browse files Browse the repository at this point in the history
  • Loading branch information
rodfersou committed Mar 3, 2017
1 parent efb2d97 commit 7a0b453
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGES.rst
Expand Up @@ -4,7 +4,8 @@ Changelog
1.2b2 (unreleased)
------------------

- Nothing changed yet.
- Remove duplicated spinner (fixes `#35`_).
[rodfersou]


1.2b1 (2016-06-21)
Expand Down
2 changes: 2 additions & 0 deletions src/collective/liveblog/browser/templates/update.pt
Expand Up @@ -140,6 +140,8 @@
parser.pathname = parser.pathname + '/recent-updates';
$.ajax({
url: parser.href,
// Don't show plone default spinner
global: false,
success: function (data) {
if (typeof data !== 'string') {
data = '';
Expand Down
2 changes: 2 additions & 0 deletions src/collective/liveblog/browser/templates/view.pt
Expand Up @@ -95,6 +95,8 @@
parser.pathname = parser.pathname + '/recent-updates';
$.ajax({
url: parser.href,
// Don't show plone default spinner
global: false,
success: function (data) {
$("#micro-updates").prepend(data).fadeIn("slow");
/* in some cases a micro-update could be duplicated; remove it */
Expand Down

0 comments on commit 7a0b453

Please sign in to comment.