[extensions-web] Let's try that again...
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] Let's try that again...
- Date: Wed, 24 Oct 2012 15:17:41 +0000 (UTC)
commit 20159c13e9e33a20f67e5967ee3bdbc330fb1083
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Oct 24 11:17:34 2012 -0400
Let's try that again...
sweettooth/auth/urls.py | 2 +-
sweettooth/static/js/main.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/sweettooth/auth/urls.py b/sweettooth/auth/urls.py
index d2e5f5e..948249e 100644
--- a/sweettooth/auth/urls.py
+++ b/sweettooth/auth/urls.py
@@ -10,7 +10,7 @@ urlpatterns = patterns('',
dict(template_name='registration/login.html',
authentication_form=forms.AuthenticationForm), name='auth-login'),
- url(r'^ajax/edit/display_name/', views.ajax_change_display_name, name='auth-ajax-edit-display-name'),
+ url(r'^change_display_name', views.ajax_change_display_name),
url(r'^logout/', logout,
dict(next_page='/'), name='auth-logout'),
diff --git a/sweettooth/static/js/main.js b/sweettooth/static/js/main.js
index 52a3783..e2595cd 100644
--- a/sweettooth/static/js/main.js
+++ b/sweettooth/static/js/main.js
@@ -45,7 +45,7 @@ function($, messages, modal, hashParamUtils, templates) {
$("time").timeago();
- $("#new_display_name").csrfEditable('/ajax/edit/display_name');
+ $("#new_display_name").csrfEditable('/accounts/change_display_name');
var $userPopupLink = $('#global_domain_bar .user');
var $userPopup = $('#global_domain_bar .user_popup');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]