624. File Comparison Report

Produced on Mon May 12 13:06:29 2008 UTC. This report uses XHTML and CSS2, and is best viewed with a reasonably standards compliant browser such as the latest version of Firefox or Internet Explorer. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

624.1 Files compared

# Location File Last Modified
1 Mon May 12 13:06:29 2008 UTC
2 Dolphin-v.6.1.0\plugins\tiny_mce\themes\advanced\js anchor.js Thu Mar 27 13:53:28 2008 UTC

624.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 0 0
Changed 0 0
Inserted 1 33
Removed 0 0

624.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

624.4 Active regular expressions

No regular expressions were active.

624.5 Comparison detail

    1   tinyMCEPop up.require LangPack() ;
    2  
    3   var Anchor Dialog = {
    4       init :  function( ed) {
    5           va r action,  elm, f = d ocument.fo rms[0];
    6  
    7           th is.editor  = ed;
    8           el m = ed.dom .getParent (ed.select ion.getNod e(), 'A,IM G');
    9           v  = ed.dom.g etAttrib(e lm, 'name' );
    10  
    11           if  (v)
    12                f.anchor Name.value  = v;
    13  
    14           f. insert.val ue = ed.ge tLang(elm  ? 'update'  : 'insert ');
    15       },
    16  
    17       update  : functio n() {
    18           va r ed = thi s.editor;
    19           
    20           ti nyMCEPopup .restoreSe lection();
    21           ed .selection .collapse( 1);
    22  
    23           //  Webkit ac ts weird i f empty in line eleme nt is inse rted so we  need to u se a image  instead
    24           if  (tinymce. isWebKit)
    25                ed.execC ommand('mc eInsertCon tent', 0,  ed.dom.cre ateHTML('i mg', {mce_ name : 'a' , name : d ocument.fo rms[0].anc horName.va lue, 'clas s' : 'mceI temAnchor' }));
    26           el se
    27                ed.execC ommand('mc eInsertCon tent', 0,  ed.dom.cre ateHTML('a ', {name :  document. forms[0].a nchorName. value, 'cl ass' : 'mc eItemAncho r'}, ''));
    28  
    29           ti nyMCEPopup .close();
    30       }
    31   };
    32  
    33   tinyMCEPop up.onInit. add(Anchor Dialog.ini t, AnchorD ialog);