소스 검색

set x-editable container to body

because there is an issue on iOS (maybe some other small screen devices) when using the .table-responsive class for the admin list
toooni 10 년 전
부모
커밋
dc76481271
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Resources/public/Admin.js

+ 1 - 0
Resources/public/Admin.js

@@ -114,6 +114,7 @@ var Admin = {
         jQuery('.x-editable', subject).editable({
             emptyclass: 'editable-empty btn btn-sm',
             emptytext: '<i class="glyphicon glyphicon-edit"></i>',
+            container: 'body',
             success: function(response) {
                 if('KO' === response.status) {
                     return response.message;