Uploaded image for project: 'Document Management System'
  1. Document Management System
  2. DMS-1420

CBATS : Embedded UI Double Scroll Issue

    Details

    • Type: New Feature
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Integration with CBAT
    • Labels:
      None

      Description

      Embedded UI Double Scroll Issue

      Below script provided by CBATS team , needs to add on pages example create template.
      // Get height of document
      function getDocHeight(doc)

      { doc = doc || document; var body = doc.body, html = doc.documentElement; var height = Math.max( body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight ); return height; }

      // send docHeight onload
      function sendDocHeightMsg(e) {
      var ht = getDocHeight();
      parent.postMessage( JSON.stringify(

      {'docHeight': ht}

      ), '*' );
      }

      // assign onload handler
      if ( window.addEventListener )

      { window.addEventListener('load', sendDocHeightMsg, false); }

      else if ( window.attachEvent )

      { // ie8 window.attachEvent('onload', sendDocHeightMsg); }

        Attachments

          Activity

          rohan.khandave Rohan J Khandave (Inactive) created issue -
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Field Original Value New Value
          Epic Link DMS-473 [ 75966 ]
          Ganesh.sadawarte Ganesh Sadawarte (Inactive) made changes -
          Assignee Samir [ samir ] Rohan J Khandave [ rohan.khandave ]
          rohan.khandave Rohan J Khandave (Inactive) made changes -
          Assignee Rohan J Khandave [ rohan.khandave ] Ramya Tantry [ ramya.tantry ]
          ramya.tantry Ramya Tantry (Inactive) made changes -
          Status To Do [ 10000 ] In Progress [ 3 ]
          ramya.tantry Ramya Tantry (Inactive) logged work - 15/May/19 05:41 AM
          • Time Spent:
            5.5h
             

            Issue analysis

            Authentication issue fix

            Discussion with Rohan

            R&D on iframe to parent call

             

          ramya.tantry Ramya Tantry (Inactive) made changes -
          Remaining Estimate 0h [ 0 ]
          Time Spent 5.5h [ 19800 ]
          Worklog Id 178215 [ 178215 ]
          Hide
          ramya.tantry Ramya Tantry (Inactive) added a comment -

          Hi Samir,

          We were able to successfully integrate the javascript into create document template typescript file and also were able to send value from iframe to parent.

          CC:Rohan J Khandave,Swapnil Pandhare

          Show
          ramya.tantry Ramya Tantry (Inactive) added a comment - Hi Samir , We were able to successfully integrate the javascript into create document template typescript file and also were able to send value from iframe to parent. CC: Rohan J Khandave , Swapnil Pandhare
          ramya.tantry Ramya Tantry (Inactive) made changes -
          Status In Progress [ 3 ] To Do [ 10000 ]
          ramya.tantry Ramya Tantry (Inactive) made changes -
          Assignee Ramya Tantry [ ramya.tantry ] Samir [ samir ]
          Hide
          samir Samir added a comment -

          please confirm and close

          Show
          samir Samir added a comment - please confirm and close
          samir Samir made changes -
          Assignee Samir [ samir ] Narendra Kumar [ narendra.kumar ]
          samir Samir made changes -
          Sprint DMS - Fall Sprint 8 [ 167 ]
          Original Estimate 0h [ 0 ]
          Hide
          narendra.kumar Narendra Kumar added a comment -

          Hi Samir

          This has been fixed under DMS-1453

          So closing this ticket.

           

          Thanks

          Narendra

          Show
          narendra.kumar Narendra Kumar added a comment - Hi Samir This has been fixed under  DMS-1453 So closing this ticket.   Thanks Narendra
          narendra.kumar Narendra Kumar made changes -
          Resolution Done [ 10000 ]
          Status To Do [ 10000 ] Done [ 10001 ]
          Transition Time In Source Status Execution Times
          Ramya Tantry (Inactive) made transition -
          To Do In Progress
          1d 19h 19m 1
          Ramya Tantry (Inactive) made transition -
          In Progress To Do
          6h 14m 1
          Narendra Kumar made transition -
          To Do Done
          69d 16h 33m 1

            People

            Assignee:
            narendra.kumar Narendra Kumar
            Reporter:
            rohan.khandave Rohan J Khandave (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0h
                0h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 5.5h
                5.5h