]> git.wh0rd.org - tt-rss.git/blobdiff - functions.js
feed editor, xmlhttp locking in preferences, try to initialize xmlhttp_rpc via Active...
[tt-rss.git] / functions.js
index 25a19908b3bd536ba61f0af27bad63bf6bab5d5b..b634974abf2475a12eb3d3b151d345eba60c8541 100644 (file)
@@ -12,6 +12,14 @@ function param_unescape(arg) {
                return unescape(arg);
 }
 
+function delay(gap) {
+       var then,now; 
+       then=new Date().getTime();
+       now=then;
+       while((now-then)<gap) {
+               now=new Date().getTime();
+       }
+}
 
 function notify(msg) {
 
@@ -27,4 +35,8 @@ function notify(msg) {
 
 }
 
+function printLockingError() {
+       notify("Please wait until operation finishes");
+}
+