Commit 4e157b47 authored by Rene AJM Veerman's avatar Rene AJM Veerman

bughunt

parent 2c7e4e88
......@@ -79,7 +79,7 @@ saTree = sa.tree = sa.t = {
var
ajaxCommand = {
type : 'POST',
url : sa.m.globals.urls.framework + '/businessLogic/saTree/1.0.0/ajax__move_node.php',
url : sa.m.globals.urls.framework + '/businessLogic/saTree/1.0.0/ajax__move_node.php?changed='+sa.m.changedDateTime_current(),
data : {
fromPath : fromPath,
toPath : toPath
......@@ -112,7 +112,7 @@ saTree = sa.tree = sa.t = {
}).then(function(putResult) {
debugger;
i++;
setTimeout (function(){doItem(i)}, 100);
setTimeout (function(){doItem(i)}, 10);
}).catch(function(err) {
debugger; console.log (err);
......@@ -122,7 +122,7 @@ saTree = sa.tree = sa.t = {
});
} else {
i++;
setTimeout (function(){doItem(i)}, 100);
setTimeout (function(){doItem(i)}, 10);
};
};
doItem (0);
......@@ -189,7 +189,7 @@ saTree = sa.tree = sa.t = {
var
ajaxCommand = {
type : 'POST',
url : sa.m.globals.urls.framework + '/businessLogic/saTree/1.0.0/ajax__move_node.php',
url : sa.m.globals.urls.framework + '/businessLogic/saTree/1.0.0/ajax__move_node.php?changed='+sa.m.changedDateTime_current(),
data : {
fromPath : fromPath,
toPath : toPath
......@@ -217,7 +217,7 @@ saTree = sa.tree = sa.t = {
path = sa.tree.currentPath (node),
ajaxCommand = {
type : 'POST',
url : sa.m.globals.urls.framework + '/businessLogic/saTree/1.0.0/ajax__delete_node.php',
url : sa.m.globals.urls.framework + '/businessLogic/saTree/1.0.0/ajax__delete_node.php?changed='+sa.m.changedDateTime_current(),
data : {
path : path
},
......@@ -286,7 +286,7 @@ saTree = sa.tree = sa.t = {
var
ajaxCommand = {
type : 'POST',
url : sa.m.globals.urls.framework + '/businessLogic/saTree/1.0.0/ajax__save_saDocument.php',
url : sa.m.globals.urls.framework + '/businessLogic/saTree/1.0.0/ajax__save_saDocument.php?changed='+sa.m.changedDateTime_current(),
data : {
path : path,
c : c.replace(/\r\n\r\n/g, '\r\n'),
......@@ -372,7 +372,7 @@ saTree = sa.tree = sa.t = {
type : node2.type
}).then(function(putResult) {
i++;
setTimeout (function(){doItem(i)}, 100);
setTimeout (function(){doItem(i)}, 10);
}).catch(function(err) {
debugger; console.log (err);
});
......@@ -381,7 +381,7 @@ saTree = sa.tree = sa.t = {
});
} else {
i++;
setTimeout (function(){doItem(i)}, 100);
setTimeout (function(){doItem(i)}, 10);
};
};
doItem (0);
......@@ -389,7 +389,7 @@ saTree = sa.tree = sa.t = {
activate_node__gotoNewNode : function (node) {
debugger;
sa.tree.save_node(node);
// switch to new node
......@@ -501,7 +501,7 @@ saTree = sa.tree = sa.t = {
var
ajaxCommand = {
type : 'POST',
url : sa.m.globals.urls.framework + '/businessLogic/saTree/1.0.0/ajax__load_saDocument.php',
url : sa.m.globals.urls.framework + '/businessLogic/saTree/1.0.0/ajax__load_saDocument.php?changed='+sa.m.changedDateTime_current(),
data : {
path : path
},
......@@ -669,7 +669,7 @@ saTree = sa.tree = sa.t = {
var
ajaxCommand = {
type : 'GET',
url : sa.m.globals.urls.framework + '/businessLogic/saTree/1.0.0/ajax__currentNode_create.php',
url : sa.m.globals.urls.framework + '/businessLogic/saTree/1.0.0/ajax__currentNode_create.php?changed='+sa.m.changedDateTime_current(),
data : {
path : path,
},
......@@ -726,7 +726,7 @@ saTree = sa.tree = sa.t = {
sa.site.code.loadContent (url, dontHijackLinks);
}
jQuery(sa.siteManager.ui.settings.loaderIcon).remove();
}, 2000);
}, 20);
if (st.type === 'saMediaAlbum')
setTimeout (function() {
......@@ -739,7 +739,7 @@ saTree = sa.tree = sa.t = {
sa.site.code.loadContent (url, dontHijackLinks);
}
jQuery(sa.siteManager.ui.settings.loaderIcon).remove();
}, 2000);
}, 20);
break;
}
......
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