diff --git a/CHANGES.rst b/CHANGES.rst index 3cb40f6..afd0ca5 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,7 +4,8 @@ Changelog 1.2b2 (unreleased) ------------------ -- Nothing changed yet. +- Remove duplicated spinner (fixes `#35`_). + [rodfersou] 1.2b1 (2016-06-21) diff --git a/src/collective/liveblog/browser/templates/update.pt b/src/collective/liveblog/browser/templates/update.pt index 67487ca..4d87285 100644 --- a/src/collective/liveblog/browser/templates/update.pt +++ b/src/collective/liveblog/browser/templates/update.pt @@ -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 = ''; diff --git a/src/collective/liveblog/browser/templates/view.pt b/src/collective/liveblog/browser/templates/view.pt index 249277a..6996754 100644 --- a/src/collective/liveblog/browser/templates/view.pt +++ b/src/collective/liveblog/browser/templates/view.pt @@ -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 */