|
@@ -289,7 +289,8 @@
|
|
|
return false;
|
|
|
});
|
|
|
|
|
|
- /*$(document)
|
|
|
+ @if(!$note->visitTemplate)
|
|
|
+ $(document)
|
|
|
.off('mousedown.enable-edit', '.note-section:not(.edit):not(.page-driven)')
|
|
|
.on('mousedown.enable-edit', '.note-section:not(.edit):not(.page-driven)', function(e) {
|
|
|
if($(this).closest('.note-signed-by-hcp').length) return;
|
|
@@ -297,7 +298,8 @@
|
|
|
e.preventDefault();
|
|
|
$(this).find('.edit-trigger').first().click();
|
|
|
return false;
|
|
|
- });*/
|
|
|
+ });
|
|
|
+ @endif
|
|
|
|
|
|
// $(document)
|
|
|
// .off('mousedown.enable-edit', '.note-section:not(.edit).page-driven')
|