no backspace on readonly auto-complete
This commit is contained in:
parent
88d90b930d
commit
d0ed3e9105
5 changed files with 26 additions and 4 deletions
|
@ -186,6 +186,15 @@
|
|||
<script type="text/javascript" src="{{ asset('js/lib.js') }}"></script>
|
||||
<script type="text/javascript">
|
||||
$('div.alert').not('alert-important');//.delay(3000).slideUp(300);
|
||||
|
||||
// A $( document ).ready() block.
|
||||
$(document).ready(function() {
|
||||
$(document).on("keydown", function (e) {
|
||||
if (e.which === 8 && !$(e.target).is("input:not([type=radio]):not([type=checkbox]), textarea, [contentEditable], [contentEditable=true]")) {
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" src="{{ asset('backend/functions.js') }}"></script>
|
||||
@yield('after-scripts')
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue