Support from Acquia helps fund testing for Drupal Acquia logo

Comments

realityloop’s picture

Status: Active » Needs review
FileSize
726 bytes
realityloop’s picture

reduced from 10000001 to 1000001

muhleder’s picture

Why not put the z-index and position setting into css?

#modalContent {
  z-index: 1001;
  position: absolute;
}

Plenty of themes use z-indexes higher than 1001 and having these styles applied inline prevents us from overriding it to fix the modal to work with our themes.

muhleder’s picture

Ok, so it is possible to override in css. Still don't think it should be inline.

#modalContent[style] {
  z-index: 9000 !important;
}

robertnorrie’s picture

Attempted to apply this patch against ctools 7.x-1.11 and the patch was out of date. Uploading a new version of the patch.

Chris Matthews’s picture

Status: Needs review » Needs work

The 2 year old re-rolled patch in #6 to modal.js applied cleanly to the latest ctools 7.x-1.x-dev, but the comments in #3 and #4 still need to be addressed.