- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2016 11:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2016 06:07 AM
Venkat and others that helped,
I think we will live with the scroll bars. I was really hoping for something like .removeCloseDecoration()
ServiceNow advises against DOM Manipulation and after a few issues caused by the changes in Geneva (like labels going to legends), I am reluctant to pursue this. Also, this is for an integration. So when the integration upgrade happens we may see issues or they may have addressed this.
Thank you,
Jeremy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2016 06:07 AM
Venkat and others that helped,
I think we will live with the scroll bars. I was really hoping for something like .removeCloseDecoration()
ServiceNow advises against DOM Manipulation and after a few issues caused by the changes in Geneva (like labels going to legends), I am reluctant to pursue this. Also, this is for an integration. So when the integration upgrade happens we may see issues or they may have addressed this.
Thank you,
Jeremy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2017 12:13 PM
I saw this thread while I was looking for an answer to something else, thought I'd paste in here what I did to accomplish the removal of the scrollbars. Still DOM manipulation though.
var modal = new GlideDialogForm('Known Issue', 'u_known_issues', testMethod());
modal.setPreference('sys_id',-1);
modal.setDialogHeightMax(400);
modal.setLoadCallback(function(iframeDoc){
var dialogFrame = 'defaultView' in iframeDoc ? iframeDoc.defaultView : iframeDoc.parentWindow;
var iframe = dialogFrame.frameElement;
var dialog = $j(iframe).contents().find('.form_dialog')[0];
dialogFrame = null;
});
modal.render();