]>
git.wh0rd.org - tt-rss.git/blob - functions.js
1 function param_escape(arg
) {
2 if (typeof encodeURIComponent
!= 'undefined')
3 return encodeURIComponent(arg
);
8 function param_unescape(arg
) {
9 if (typeof decodeURIComponent
!= 'undefined')
10 return decodeURIComponent(arg
);
17 then
=new Date().getTime();
19 while((now
-then
)<gap
) {
20 now
=new Date().getTime();
24 function notify(msg
) {
26 var n
= document
.getElementById("notify");
30 if (msg
.length
== 0) {
31 n
.style
.display
= "none";
33 n
.style
.display
= "block";
38 function printLockingError() {
39 notify("Please wait until operation finishes");