[extensions-web] Fix screenshot/image uploader



commit 8c09f4c188cb9319e42dfbda08b795fa8d2cdbc3
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Dec 22 20:10:57 2011 -0500

    Fix screenshot/image uploader

 sweettooth/static/js/main.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/sweettooth/static/js/main.js b/sweettooth/static/js/main.js
index adc00cc..4c3596f 100644
--- a/sweettooth/static/js/main.js
+++ b/sweettooth/static/js/main.js
@@ -142,8 +142,8 @@ require(['jquery', 'messages', 'extensions', 'uploader',
             $('#extension_name, #extension_url').csrfEditable(inlineEditURL);
             $('#extension_description').csrfEditable(inlineEditURL, {type: 'textarea'});
 
-            $('.screenshot.upload').uploadify('/upload/screenshot/'+pk+'?geometry=300x200');
-            $('.icon.upload').uploadify('/upload/icon/'+pk);
+            $('.screenshot.upload').uploadify('/ajax/upload/screenshot/'+pk+'?geometry=300x200');
+            $('.icon.upload').uploadify('/ajax/upload/icon/'+pk);
         }
     });
 });



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