From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- sd/res/webview/poll.asp | 53 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 sd/res/webview/poll.asp (limited to 'sd/res/webview/poll.asp') diff --git a/sd/res/webview/poll.asp b/sd/res/webview/poll.asp new file mode 100644 index 000000000..0bbce4338 --- /dev/null +++ b/sd/res/webview/poll.asp @@ -0,0 +1,53 @@ +<% + Option Explicit + Response.Expires = 0 +%> + + + + + + + + + + +<% + ' get current picture id + Dim nGIFID + + nGifID = File_getDataVirtual( csFileCurrent, ".", ";" )( 0 ) + + ' a new picture was chosen ? + if nGIFID <> Session( "GIFID" ) then + ' then store the id of the new picture and show it + Session( "GIFID" ) = nGIFID + %> + + <% + else + %> + + <% + end if +%> + + + + \ No newline at end of file -- cgit v1.2.3