Skip to content

Commit

Permalink
[messaging] Fix a bug on create - mobile version.
Browse files Browse the repository at this point in the history
Add a missing resource.
  • Loading branch information
alexef committed Sep 27, 2013
1 parent ae0fff9 commit 7e4950d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Binary file added wouso/resources/static/css/images/ajax-loader.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions wouso/resources/static/js/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ function switchtab() {

function tabToURL(tab_name, url) {
$("#" + tab_name).bind('custom',
function() {
$.ajax({
url: url,
success: function(data) {
$("#" + tab_name).html(data)
}
})
});
function() {
$.ajax({
url: url,
success: function(data) {
$("#" + tab_name).html(data)
}
})
});
}
2 changes: 1 addition & 1 deletion wouso/resources/templates/messaging/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<h2>{% trans 'Create message' %}</h2>

<form id="msg" onsubmit="messagingSubmit();" method="post" action="{% url create %}">
<form id="msg" onsubmit="messagingSubmit();" method="post" action="{% url create %}" data-ajax="false">
<table>
<tr><td>To:</td><td valign="top">
{% if to %}
Expand Down

0 comments on commit 7e4950d

Please sign in to comment.