瀏覽代碼

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