593. File Comparison Report

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

593.1 Files compared

# Location File Last Modified
1 Dolphin-v.6.0.5\plugins\tiny_mce\plugins\xhtmlxtras\jscripts del.js Thu Sep 20 08:59:18 2007 UTC
2 Mon May 12 13:06:26 2008 UTC

593.2 Comparison summary

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

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

593.4 Active regular expressions

No regular expressions were active.

593.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 -2007, Mox iecode Sys tems AB, A ll rights  reserved.    
6    */    
7      
8   function p reinit() {    
9       // Ini tialize    
10       tinyMC E.setWindo wArg('mce_ windowresi ze', false );    
11   }    
12      
13   function i nit() {    
14       tinyMC EPopup.res izeToInner Size();    
15       SXE.in itElementD ialog('del ');    
16       if (SX E.currentA ction == " update") {    
17           se tFormValue ('datetime ', tinyMCE .getAttrib (SXE.updat eElement,  'datetime' ));    
18           se tFormValue ('cite', t inyMCE.get Attrib(SXE .updateEle ment, 'cit e'));    
19           SX E.showRemo veButton() ;    
20       }    
21   }    
22      
23   function s etElementA ttribs(elm ) {    
24       setAll CommonAttr ibs(elm);    
25       setAtt rib(elm, ' datetime') ;    
26       setAtt rib(elm, ' cite');    
27   }    
28      
29   function i nsertDel()  {    
30       var el m = tinyMC E.getParen tElement(S XE.focusEl ement, 'de l');    
31      
32       tinyMC EPopup.exe cCommand(' mceBeginUn doLevel');    
33       if (el m == null)  {    
34           va r s = SXE. inst.selec tion.getSe lectedHTML ();    
35           if (s.length  > 0) {    
36                tinyMCEP opup.execC ommand('mc eInsertCon tent', fal se, '<del  id="#sxe_t emp_del#"> ' + s + '< /del>');    
37                var elem entArray =  tinyMCE.g etElements ByAttribut eValue(SXE .inst.getB ody(), 'de l', 'id',  '#sxe_temp _del#');    
38                for (var  i=0; i<el ementArray .length; i ++) {    
39                    var  elm = elem entArray[i ];    
40                    setE lementAttr ibs(elm);    
41                }    
42           }    
43       } else  {    
44           se tElementAt tribs(elm) ;    
45       }    
46       tinyMC E.triggerN odeChange( );    
47       tinyMC EPopup.exe cCommand(' mceEndUndo Level');    
48       tinyMC EPopup.clo se();    
49   }    
50      
51   function r emoveDel()  {    
52       SXE.re moveElemen t('del');    
53       tinyMC EPopup.clo se();    
54   }