Opened 14 years ago

Closed 14 years ago

#286 closed defect (fixed)

remove the if(document.designMode) created for Popup-Window-Links

Reported by: niko Owned by: gogo
Priority: high Milestone: Version 1.0
Component: Plugin_Linker Version:
Severity: normal Keywords:
Cc:

Description

it would work with this special-Replacement:

  this.specialReplacements = {
    'window.open(': 'try{if(document.designMode && document.designMode == \'on\') return false;}catch(e){} window.open('
  };

(i have no idea why &)

i see two possibilitis how to implement this:

  • add in the Linker-plugin in onGenerate the replacement to config.specialReplacements
  • add the replacement to inwardHtml / outwardHtml

Change History (1)

comment:1 Changed 14 years ago by niko

  • Resolution set to fixed
  • Status changed from new to closed

commited in changeset:216
(2nd solution)

Note: See TracTickets for help on using tickets.