]> git.plutz.net Git - lobster/blobdiff - therapies/page.sh
auto submit therapy form data
[lobster] / therapies / page.sh
index 2f0136ba25f9cfa8f8641fbe7a009965e5d2a049..c3d8078567331ca783385b8db8462e38e030c148 100755 (executable)
@@ -211,10 +211,11 @@ cat <<EOF
   [canvas #canvas .dotmark .ov width="${bg_dim%x*}" height="${bg_dim#*x}" ]
   [input type=hidden #image_serialize name=imagedata value=""]
 
-  [button type=submit $(l10n save)]
+  [button #savebutton type=submit $(l10n save)]
 ]
 
 [span #jsdebug style="display: none; position: fixed; right:0; bottom:0" Debug]
 
 [script type="text/javascript" src="/therapies/therapy_draw.js"]
+[script type="text/javascript" src="/therapies/autosave.js"]
 EOF