[extensions-web] js: Fix inline editing



commit 2548cc351d4710eff98bd48e82db6dbab34fed63
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Dec 8 11:58:36 2011 -0500

    js: Fix inline editing

 sweettooth/static/js/main.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/static/js/main.js b/sweettooth/static/js/main.js
index cfdf354..957570a 100644
--- a/sweettooth/static/js/main.js
+++ b/sweettooth/static/js/main.js
@@ -22,7 +22,7 @@ require(['jquery', 'messages', 'extensions',
                                 { select: true,
                                   ajaxoptions: { error: error, dataType: 'json' },
                                   callback: function(result, settings) {
-                                      elem.text(result);
+                                      $elem.text(result);
                                   },
                                   data: function(string, settings) {
                                       return $.trim(string);



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