Skip to content

Commit

Permalink
Merge pull request #30 from LaurentGoderre/master
Browse files Browse the repository at this point in the history
Added a missing image for the web feed widget and fix the mobile view not working when ajax call fails
  • Loading branch information
Paul Jackson authored and Paul Jackson committed May 30, 2012
2 parents 211b0f4 + c90720d commit 254ca8b
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Binary file added build/js/images/webfeeds/ajax-loader.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion build/js/pe-ap-min.js

Large diffs are not rendered by default.

Binary file added src/js/images/webfeeds/ajax-loader.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/js/pe-ap.js
Expand Up @@ -96,7 +96,7 @@
}
$o.append($(data));
}, "html");
})).done(function () {
})).always(function () {
//Wait for localisation and ajax content to load plugins
$(document).bind("languageloaded", function () {
pe.dance();
Expand Down
2 changes: 1 addition & 1 deletion src/js/workers/webwidget.js
Expand Up @@ -178,7 +178,7 @@
}
return $(this).attr("href");
});
$response = $("<ul class=\"widget-content\"><li class=\"widget-state-loading\"><img src=\"" + pe.add.liblocation + "/images/ajax-loader.gif" + "\" /><span class=\"wb-invisible\">" + pe.dic.get('%loading') + "</span></li></ul>");
$response = $("<ul class=\"widget-content\"><li class=\"widget-state-loading\"><img src=\"" + pe.add.liblocation + "/images/webfeeds/ajax-loader.gif" + "\" alt=\"" + pe.dic.get('%loading') + "\" /></li></ul>");
$elm.find(".widget-content").replaceWith($response);
$.extend({}, _pe.fn.webwidget[type]).exec(feeds, limit, $response);
return;
Expand Down

0 comments on commit 254ca8b

Please sign in to comment.