SysAuditLink.js 395 B

123456789101112131415
  1. if (typeof SysAuditLink == 'undefined') {
  2. SysAuditLink = {};
  3. }
  4. SysAuditLink.initLink=function(){
  5. $("body").delegate("a[hrefLink]","click",function(){
  6. var hrefLink=$(this).attr("hrefLink");
  7. if(!hrefLink){
  8. return;
  9. }
  10. var url=hrefLink+"&canReturn=1";
  11. var winArgs="dialogWidth:800px;dialogHeight:600px;help:0;status:1;scroll:1;center:1";
  12. window.showModalDialog(url,"",winArgs);
  13. })
  14. }