/* START REMOVE LAST ROW OF ADD QUICK LINK FORM */ $(function(){ if(window.ShowNewQuicklinkPopup != undefined) { var oldShowNewQuicklinkPopup = ShowNewQuicklinkPopup; ShowNewQuicklinkPopup = function(b,a){ oldShowNewQuicklinkPopup(b,a); $('iframe').each(function(){ if(this.src.indexOf("QuickLinksDialogForm.aspx") != -1) { $(this).load(function() { var cssString = "#bodyMain > div > table > tbody > tr > td > table > tbody > tr:first-child + tr + tr + tr + tr + tr + tr, #bodyMain > div > table > tbody > tr > td > table > tbody > tr:first-child + tr + tr + tr + tr + tr{ \ display : none; \ } \ #bodyTableCell{ \ padding-bottom: 0px !important; \ }"; var frame = $(this).contents()[0]; var head = frame.head || frame.getElementsByTagName('head')[0]; var style = frame.createElement('style'); style.type = 'text/css'; if (style.styleSheet){ style.styleSheet.cssText = cssString; } else { style.appendChild(frame.createTextNode(cssString)); } head.appendChild(style); }); } }); } }; }); /* END REMOVE LAST ROW OF ADD QUICK LINK FORM */