• Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0-m4
    • Fix Version/s: 2.2.0-rc1
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Similar issues:
      KULRICE-11044KRAD PoC - Problems with refreshId when used in a lightbox.
      KULRICE-3285Remove doNotExecuteSearchableAttributeIndexing special handling from SearchableAttributeProcessor
      KULRICE-13020Remove Lightbox and all traces of the word lightbox and fancybox
      KULRICE-7477Lightbox - Div structure / CSS class support for lightbox
      KULRICE-5373Issues from lightbox code review
      KULRICE-9875Removed Fluid css and infusion
      KULRICE-10060Remove FFS css files for Fluid and Infusion
      KULRICE-6836Add feature to remove special characters for text area fields
      KULRICE-6496Remove css files from kns directory that we are not using
      KULRICE-7700Remove special data properties
    • Rice Module:
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required


      JavaScript function _initAndOpenLightbox in krad.ulility.js still contains some code that is supposed to solve the CSS issues with lightboxes. Since the lightbox is based on the portal it temporarily removes the portal's CSS and replaces it with the app's lightbox CSS. Of course this cause the underlying page of the lightbox to be displayed incorrectly but the lightbox itself would be correct. For it to work, logic needs to be added if it's in a cross domain situation or not . For the first case parent.jQuery.fancybox(..) and for the second case top.jQuery.fancybox(...) need to be used to make it work. Also, the application context (kr-dev) needs to be gotten dynamically just like it is done in iframePortletContainer.tag for finding the location of resize_itermediate.html.

      However it was decided to remove this hack since it doesn't work well. Instead it is simplified down to

      // Open the light box

      With this the lightbox won't cover the whole portal but just the context area. But the needed CSS and JavaScript files for the lightbox are available.


        There are no comments yet on this issue.


          • Assignee:
            Claus Niesen
            Claus Niesen
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created:

              Structure Helper Panel