[extensions-web] Fix result creator link.



commit cb36fbe126b080c16f7dfe89ad0efab6ba01e274
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Oct 31 15:32:35 2011 -0400

    Fix result creator link.

 sweettooth/static/js/extensions.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/static/js/extensions.js b/sweettooth/static/js/extensions.js
index f155c9b..80edf9d 100644
--- a/sweettooth/static/js/extensions.js
+++ b/sweettooth/static/js/extensions.js
@@ -204,7 +204,7 @@ function($, messages, dbusProxy) {
                         type: "GET",
                     }).done(function(result) {
                         $elem.
-                            find('span.author').text(" by ").append($('<a>', {'href': "/accounts/profile/" + result.creator})).end().
+                            find('span.author').text(" by ").append($('<a>', {'href': "/accounts/profile/" + result.creator}).text(result.creator)).end().
                             find('img.icon').detach().end().
                             find('h3').html($('<a>', {'href': result.link}).append($('<img>', {'class': 'icon', 'src': result.icon})).append(extension.name)).end().
                             append($('<button>', {'class': 'uninstall', 'title': "Uninstall"}).text("Uninstall").bind('click', uninstall)).



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]