1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 16:31:13 +00:00

[sort-lib] change file to a short name

This commit is contained in:
imwhatiam
2014-06-18 10:13:57 +08:00
parent 9dc8752af1
commit ba2e7c344e
6 changed files with 5 additions and 5 deletions

View File

@@ -177,6 +177,6 @@ $('.lsch-encrypted').click(function() {
}); });
{% include 'snippets/repo_decrypt_js.html' %} {% include 'snippets/repo_decrypt_js.html' %}
{% endif %} {% endif %}
{% include "snippets/sort_lib_by_name_and_time_js.html" %} {% include "snippets/sort_lib_js.html" %}
</script> </script>
{% endblock %} {% endblock %}

View File

@@ -119,6 +119,6 @@ $(document).click(function(e) {
} }
}); });
{% endif %} // shared_repos {% endif %} // shared_repos
{% include "snippets/sort_lib_by_name_and_time_js.html" %} {% include "snippets/sort_lib_js.html" %}
</script> </script>
{% endblock %} {% endblock %}

View File

@@ -73,6 +73,6 @@ function repoCreateSuccessCallback() {
{% with post_url=repo_create_url %} {% with post_url=repo_create_url %}
{% include "snippets/repo_create_js.html" %} {% include "snippets/repo_create_js.html" %}
{% endwith %} {% endwith %}
{% include "snippets/sort_lib_by_name_and_time_js.html" %} {% include "snippets/sort_lib_js.html" %}
</script> </script>
{% endblock %} {% endblock %}

View File

@@ -120,7 +120,7 @@ function repoCreateSuccessCallback(data) {
$('tr:first', my_own_repos).after(new_repo_item); $('tr:first', my_own_repos).after(new_repo_item);
} }
} }
{% include "snippets/sort_lib_by_name_and_time_js.html" %} {% include "snippets/sort_lib_js.html" %}
$(function() { $(function() {
$.ajax({ $.ajax({
url:'{% url 'my_shared_and_group_repos' %}', url:'{% url 'my_shared_and_group_repos' %}',

View File

@@ -1,6 +1,6 @@
$(function() { $(function() {
$.ajax({ $.ajax({
url: '{{MEDIA_URL}}js/sort_lib_by_name_and_time.js', url: '{{MEDIA_URL}}js/sort_lib.js',
dataType: 'script', dataType: 'script',
cache: true, cache: true,
success: function() { success: function() {