diff --git a/src/pyui/static/js/app.js b/src/pyui/static/js/app.js index 6365e32..3dc12ac 100644 --- a/src/pyui/static/js/app.js +++ b/src/pyui/static/js/app.js @@ -11,6 +11,7 @@ function copyToClipboard(className){ function readOnlyToggle(elementId) { var element = document.getElementById(elementId); + element.value = ''; element.readOnly = !element.readOnly; } diff --git a/src/pyui/templates/pygmy/index.html b/src/pyui/templates/pygmy/index.html index b8479ae..7398a7b 100644 --- a/src/pyui/templates/pygmy/index.html +++ b/src/pyui/templates/pygmy/index.html @@ -36,21 +36,21 @@