From 8ee8e146a83dc835a294f2bad4062999fbd1b82e Mon Sep 17 00:00:00 2001 From: wbudic Date: Sat, 14 Aug 2021 16:40:47 +1000 Subject: [PATCH] Impl. the buffered rtf document storing & loading. --- htdocs/cgi-bin/wsrc/main.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/cgi-bin/wsrc/main.js b/htdocs/cgi-bin/wsrc/main.js index b59a727..8c70419 100644 --- a/htdocs/cgi-bin/wsrc/main.js +++ b/htdocs/cgi-bin/wsrc/main.js @@ -24,8 +24,8 @@ var DBI_LVAR_SZ; function onBodyLoadGeneric() { $("input[type=submit], input[type=reset], .ui-widget-content, button, .a_").button(); $("#btn_save_doc").button(); - $("#btn_zero_doc").button(); if($("#rtf_buffer").val()==0){$("#btn_zero_doc").hide()}; - $("#btn_load_doc").button(); $("#btn_load_doc").hide(); + $("#btn_zero_doc").button(); if($("#rtf_buffer").val()==0){$("#btn_zero_doc").hide()}; + $("#btn_load_doc").button(); $("#btn_load_doc").hide(); if(!LOCALE || LOCALE==="English"){ LOCALE = "en-US"; } @@ -548,6 +548,7 @@ function edit(row) { $('#rtf_doc').hide(); $('#tbl_doc').hide(); $('#toolbar-container').hide(); + $("#btn_load_doc").hide(); } -- 2.34.1