parent
5f2382583b
commit
0fd6c634bf
|
@ -1,11 +1,12 @@
|
|||
<% all_locales = I18n.available_locales %>
|
||||
<% count = all_locales.length %>
|
||||
<script>
|
||||
$('form[name="category_sort_number_form"]').on('load',function(){
|
||||
$('form[name="category_sort_number_form"]').submit(function(){
|
||||
var eles = $('form[name="category_sort_number_form"]').serialize().split('&')
|
||||
var keys=[],values=[]
|
||||
for (var ele in eles){
|
||||
var temp = ele.split('=')
|
||||
for (var i=0;i<eles.length;i++){
|
||||
var temp = eles[i].split('=')
|
||||
keys.push(temp[0])
|
||||
values.push(temp[1])
|
||||
}
|
||||
|
@ -27,6 +28,7 @@ $('form[name="category_sort_number_form"]').submit(function(){
|
|||
}
|
||||
return false;
|
||||
})
|
||||
})
|
||||
</script>
|
||||
<form method="post" action="/admin/archive_files/categories_order" name="category_sort_number_form" >
|
||||
<table>
|
||||
|
|
Loading…
Reference in New Issue