diff --git a/resources/themes/architect/views/layouts/partials/contentheader.blade.php b/resources/themes/architect/views/layouts/partials/contentheader.blade.php index a213a84f..9758beb3 100644 --- a/resources/themes/architect/views/layouts/partials/contentheader.blade.php +++ b/resources/themes/architect/views/layouts/partials/contentheader.blade.php @@ -17,19 +17,4 @@ @yield('page_actions') - - -@section('page-scripts') - -@append \ No newline at end of file + \ No newline at end of file diff --git a/resources/views/frames/dn.blade.php b/resources/views/frames/dn.blade.php index cdf59ed7..6cd68ba2 100644 --- a/resources/views/frames/dn.blade.php +++ b/resources/views/frames/dn.blade.php @@ -210,6 +210,15 @@ } $(document).ready(function() { + $('button[id=entry-edit]').on('click',function(item) { + item.preventDefault(); + + if ($(this).hasClass('btn-dark')) + return; + + editmode(); + }); + $('#newattr').on('change',function(item) { $.ajax({ type: 'POST',