فهرست منبع

Modals should be resizeable.
I think it doesn't do anything wrong, but could be helpful some times (like in my project)

Tomasz Ignatiuk 13 سال پیش
والد
کامیت
7124cee423
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      Resources/views/CRUD/edit_orm_many_association_script.html.twig

+ 2 - 2
Resources/views/CRUD/edit_orm_many_association_script.html.twig

@@ -111,7 +111,7 @@ This code manage the many-to-[one|many] association field popup
                     height: 'auto',
                     width: 980,
                     modal: true,
-                    resizable: false,
+                    resizable: true,
                     title: '{{ associationadmin.label|trans({}, associationadmin.translationdomain) }}',
                     close: function(event, ui) {
                         // make sure we have a clean state
@@ -159,7 +159,7 @@ This code manage the many-to-[one|many] association field popup
                     width: 650,
                     modal: true,
                     autoOpen: true,
-                    resizable: false,
+                    resizable: true,
                     title: '{{ associationadmin.label|trans({}, associationadmin.translationdomain) }}',
                     close: function(event, ui) {
                         Admin.log('[{{ id }}|field_dialog_form_add] dialog closed - removing `live` events');