Browse Source

Change the x-editable popover placement from "top" (default) to "auto"

Andrej Hudec 10 năm trước cách đây
mục cha
commit
708bc6fd26
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      Resources/public/Admin.js

+ 1 - 0
Resources/public/Admin.js

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