Update categories_order.html.erb
This commit is contained in:
parent
69444380a8
commit
7f679e03dc
|
@ -4,11 +4,11 @@
|
|||
$('form[name="category_sort_number_form"]').submit(function(){
|
||||
var eles = $('form[name="category_sort_number_form"]').serialize().split('&')
|
||||
var keys=[],values=[]
|
||||
eles.each(function(){
|
||||
var temp = this.split('=')
|
||||
for (var ele in eles){
|
||||
var temp = ele.split('=')
|
||||
keys.push(temp[0])
|
||||
values.push(temp[1])
|
||||
})
|
||||
}
|
||||
if (navigator.onLine) {
|
||||
$.ajax({
|
||||
url : "/admin/archive_files/categories_order",
|
||||
|
|
Loading…
Reference in New Issue