Pārlūkot izejas kodu

Sets starting z-index to 9998 in dialogs so the topbar does not obscure the close button

Brent Shaffer 13 gadi atpakaļ
vecāks
revīzija
623b452ef3

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

@@ -112,7 +112,8 @@ This code manage the many-to-[one|many] association field popup
                         // make sure we have a clean state
                         // make sure we have a clean state
                         jQuery('a', field_dialog_{{ id }}).die('click');
                         jQuery('a', field_dialog_{{ id }}).die('click');
                         jQuery('form', field_dialog_{{ id }}).die('submit');
                         jQuery('form', field_dialog_{{ id }}).die('submit');
-                    }
+                    },
+					zIndex: 9998,
                 });
                 });
             }
             }
         });
         });
@@ -158,7 +159,8 @@ This code manage the many-to-[one|many] association field popup
                         // make sure we have a clean state
                         // make sure we have a clean state
                         jQuery('a', field_dialog_{{ id }}).die('click');
                         jQuery('a', field_dialog_{{ id }}).die('click');
                         jQuery('form', field_dialog_{{ id }}).die('submit');
                         jQuery('form', field_dialog_{{ id }}).die('submit');
-                    }
+                    },
+					zIndex: 9998,
                 });
                 });
             }
             }
         });
         });