I
IramK
Guest
Hello Mohammed Siraj , Yes, I am trying to override the default selector page and use my custom selector page instead of it using the code below: function onClick(e){ window.setTimeout(function() { var ifrSrc = $("#dialogId > iframe").attr('src'); var srcArr = ifrSrc.split("pageId="); var srcArrRest = srcArr[1].split('&')[1]; var oppSelector = '{!#LINK.testPage#231167}'; var oppSelectorId = 231167; var newSrc = srcArr[0] + 'pageId=' + oppSelectorId + '&' + srcArrRest; $("#dialogId > iframe").attr('src' , newSrc); }, 50); } // This is to specify the test page selector page to open when attaching the test page record rb.newui.util.addEventListener(rb.newui.util.customEvents.rbs_initialTabRender, function(event,eventData){ var myButton= $($('section[name="Test Page"]').find('a')[4]); myButton.kendoButton({ click: onClick }); }); However, once I do apply the new selector page, till selector page still thinks that this is the old selector window and applies the sizing for that page rather than the custom selector page I have created.
Continue reading...
Continue reading...