diff --git a/resources/views/components/attribute/krbticketflags.blade.php b/resources/views/components/attribute/krbticketflags.blade.php index c10d7aa8..bad7d557 100644 --- a/resources/views/components/attribute/krbticketflags.blade.php +++ b/resources/views/components/attribute/krbticketflags.blade.php @@ -51,6 +51,9 @@ $('attribute#krbTicketFlags').find('i') .on('click',function() { var item = $(this); + if ($('form#dn-edit').attr('readonly')) + return; + var key = Number(item.attr('id').substring(1)); if (item.data('old') === undefined) diff --git a/resources/views/components/attribute/widget/options.blade.php b/resources/views/components/attribute/widget/options.blade.php index 5dbccb70..977b0a20 100644 --- a/resources/views/components/attribute/widget/options.blade.php +++ b/resources/views/components/attribute/widget/options.blade.php @@ -220,7 +220,7 @@ @default @php($clone=TRUE) - (! $new)]) id="{{ $o->name }}-addnew"> @lang('Add Value') + @section('page-scripts') @if($clone && $edit && $o->can_addvalues) diff --git a/resources/views/frames/dn.blade.php b/resources/views/frames/dn.blade.php index e36977a9..f53c2827 100644 --- a/resources/views/frames/dn.blade.php +++ b/resources/views/frames/dn.blade.php @@ -23,7 +23,7 @@