Explorar o código

问题件 log 添加 自动聚焦 text 文本框

ajun %!s(int64=4) %!d(string=hai) anos
pai
achega
36254e5ceb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      resources/views/order/issue/index.blade.php

+ 1 - 1
resources/views/order/issue/index.blade.php

@@ -1638,7 +1638,7 @@
                     let div = $('#' + id);
                     if (div.is(":hidden")) {
                         div.show();
-                        div.find('input').focus();
+                        div.find('input[type=text]').focus();
                     } else {
                         div.hide();
                     }