From: wbudic Date: Sat, 14 Aug 2021 06:40:47 +0000 (+1000) Subject: Impl. the buffered rtf document storing & loading. X-Git-Url: https://lifelog.hopto.org/gitweb/?a=commitdiff_plain;h=8ee8e146a83dc835a294f2bad4062999fbd1b82e;p=LifeLog.git Impl. the buffered rtf document storing & loading. --- 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(); }