Jelajahi Sumber

Merge pull request #18 from bshaffer/sets_zindex_for_jqueryui_dialogs

Sets starting z-index to 9998 in dialogs so the topbar does not obscure close button
Thomas 13 tahun lalu
induk
melakukan
3408f69160

+ 5 - 3
Resources/views/CRUD/edit_orm_many_association_script.html.twig

@@ -116,7 +116,8 @@ This code manage the many-to-[one|many] association field popup
                         // make sure we have a clean state
                         jQuery('a', field_dialog_{{ id }}).die('click');
                         jQuery('form', field_dialog_{{ id }}).die('submit');
-                    }
+                    },
+                    zIndex: 9998,
                 });
             }
         });
@@ -164,7 +165,8 @@ This code manage the many-to-[one|many] association field popup
                         // make sure we have a clean state
                         jQuery('a', field_dialog_{{ id }}).die('click');
                         jQuery('form', field_dialog_{{ id }}).die('submit');
-                    }
+                    },
+                    zIndex: 9998,
                 });
             }
         });
@@ -380,4 +382,4 @@ This code manage the many-to-[one|many] association field popup
 </script>
 <!-- / edit many association -->
 
-{% endautoescape %}
+{% endautoescape %}