]> lifelog.hopto.org Git - LifeLog.git/commitdiff
layout fixes.
authorwbudic <redacted>
Thu, 19 Aug 2021 08:40:32 +0000 (18:40 +1000)
committerwbudic <redacted>
Thu, 19 Aug 2021 08:40:32 +0000 (18:40 +1000)
htdocs/cgi-bin/wsrc/main.css
htdocs/cgi-bin/wsrc/main.js

index 25f490175c75ffb62d191254a3e942a9675da93d..979e45366244883f2b9b9692142ea7f2617e6762 100644 (file)
@@ -343,4 +343,5 @@ a:active {
     text-align: left;
     font-family: monospace;    
     opacity: 8;
+    padding: 5px;
 }
\ No newline at end of file
index 2ae18d9fcb1fc462e47fb0f3435bbf19a512de7a..a9e6332deb33bd09fb98226affdb8b28a624a696 100644 (file)
@@ -1072,7 +1072,9 @@ function saveRTF(id, action) {
     var bg = $("#fldBG").val();
     $.post('json.cgi', {action:'store', id:id, bg:bg, doc: JSON.stringify(
             QUILL.getContents())},saveRTFResult).fail(
-                 function(response) {dialogModal("Server Error: "+response.status,response.responseText);}
+                 function(response) {
+                     dialogModal("Server Error: "+response.status,response.responseText);
+                }
                                                  );
     if(is_submit){        
         $("#idx_cat").value = "SAVING DOCUMENT...";
@@ -1189,6 +1191,9 @@ function loadRTFResult(content, result, prms, quill) {
     }
 
     let msg = json.response;
+    if(json.error){
+        dialogModal("Server Error", json.error);
+    }
     if(json.log_id==0){
         console.log(msg = "Loaded in Buffer");
         $('#btn_zero_doc').show();