Commit 59fb3238 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

not queuing the 1st request

parent cfe49b99
...@@ -31,7 +31,8 @@ function init(){ ...@@ -31,7 +31,8 @@ function init(){
b1.click(function(){ b1.click(function(){
$.ajax({ $.ajax({
url: "debugfs.php?cmd=savetofs" url: "debugfs.php?cmd=savetofs",
queue: true
}); });
}); });
...@@ -42,7 +43,8 @@ function init(){ ...@@ -42,7 +43,8 @@ function init(){
b2.click(function(){ b2.click(function(){
$.ajax({ $.ajax({
url: "debugfs.php?cmd=restore" url: "debugfs.php?cmd=restore",
queue: true
}); });
}); });
...@@ -263,6 +265,7 @@ function init_ui_controls(record,index){ ...@@ -263,6 +265,7 @@ function init_ui_controls(record,index){
file = $(this).attr("file"); file = $(this).attr("file");
$.ajax({ $.ajax({
url:"debugfs.php?cmd=reread&file="+file, url:"debugfs.php?cmd=reread&file="+file,
queue: true,
success:function(data){ success:function(data){
rec = jQuery.parseJSON(data); rec = jQuery.parseJSON(data);
target = $("#content_"+id).find("#content_td"); target = $("#content_"+id).find("#content_td");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment