586. File Comparison Report

Produced on Mon May 12 13:06:25 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.

586.1 Files compared

# Location File Last Modified
1 Mon May 12 13:06:25 2008 UTC
2 Dolphin-v.6.1.0\plugins\tiny_mce\plugins\xhtmlxtras\js del.js Thu Mar 27 13:53:26 2008 UTC

586.2 Comparison summary

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

586.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

586.4 Active regular expressions

No regular expressions were active.

586.5 Comparison detail

    1    /**
    2    * $Id: ed itor_plugi n_src.js 4 2 2006-08- 08 14:32:2 4Z spocke  $
    3    *
    4    * @author  Moxiecode  - based o n work by  Andrew Tet law
    5    * @copyri ght Copyri ght © 2004 -2008, Mox iecode Sys tems AB, A ll rights  reserved.
    6    */
    7  
    8   function i nit() {
    9       SXE.in itElementD ialog('del ');
    10       if (SX E.currentA ction == " update") {
    11           se tFormValue ('datetime ', tinyMCE Popup.edit or.dom.get Attrib(SXE .updateEle ment, 'dat etime'));
    12           se tFormValue ('cite', t inyMCEPopu p.editor.d om.getAttr ib(SXE.upd ateElement , 'cite')) ;
    13           SX E.showRemo veButton() ;
    14       }
    15   }
    16  
    17   function s etElementA ttribs(elm ) {
    18       setAll CommonAttr ibs(elm);
    19       setAtt rib(elm, ' datetime') ;
    20       setAtt rib(elm, ' cite');
    21   }
    22  
    23   function i nsertDel()  {
    24       var el m = tinyMC EPopup.edi tor.dom.ge tParent(SX E.focusEle ment, 'DEL ');
    25  
    26       tinyMC EPopup.exe cCommand(' mceBeginUn doLevel');
    27       if (el m == null)  {
    28           va r s = SXE. inst.selec tion.getCo ntent();
    29           if (s.length  > 0) {
    30                tinyMCEP opup.execC ommand('mc eInsertCon tent', fal se, '<del  id="#sxe_t emp_del#"> ' + s + '< /del>');
    31                var elem entArray =  tinymce.g rep(SXE.in st.dom.sel ect('del') , function (n) {retur n n.id ==  '#sxe_temp _del#';});
    32                for (var  i=0; i<el ementArray .length; i ++) {
    33                    var  elm = elem entArray[i ];
    34                    setE lementAttr ibs(elm);
    35                }
    36           }
    37       } else  {
    38           se tElementAt tribs(elm) ;
    39       }
    40       tinyMC EPopup.edi tor.nodeCh anged();
    41       tinyMC EPopup.exe cCommand(' mceEndUndo Level');
    42       tinyMC EPopup.clo se();
    43   }
    44  
    45   function r emoveDel()  {
    46       SXE.re moveElemen t('del');
    47       tinyMC EPopup.clo se();
    48   }
    49  
    50   tinyMCEPop up.onInit. add(init);