Commits

Don Brown  committed 835c5dd

Remove comment dialog to prevent dups

  • Participants
  • Parent commits 8f9db35

Comments (0)

Files changed (1)

File src/main/resources/js/annotate.js

                 "panel-body");
         dialog.addButton("Save", function (dialog) {
             submitComment({quoteText: selection, commentText: jQuery('#inlineComment').val(), anchorValue : signature});
-            dialog.hide();
+            dialog.remove();
         });
         dialog.addButton("Cancel", function (dialog) {
-            dialog.hide();
+            dialog.remove();
         });
 
         dialog.show();
         });
 
     });
-})();
+})();