1321. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2/1/2017 2:57:50 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

1321.1 Files compared

# Location File Last Modified
1 C:\Araxis_Merge_Comprasion\Pub_un\BTSSS_CIF_122016.zip\BTSSS_CIF_12_20_16\clean\CRM Portal\trunk\BTSSSPortal\js\ckeditor\plugins\link\dialogs link.js Tue Dec 20 19:50:49 2016 UTC
2 Wed Feb 1 19:57:50 2017 UTC

1321.2 Comparison summary

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

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

1321.4 Active regular expressions

No regular expressions were active.

1321.5 Comparison detail

1   /*        
2    Copyright  (c) 2003- 2015, CKSo urce - Fre derico Kna bben. All  rights res erved.        
3    This soft ware is co vered by C KEditor Co mmercial L icense. Us age withou t proper l icense is  prohibited .        
4   */        
5   (function( ){CKEDITOR .dialog.ad d("link",f unction(g) {var n=CKE DITOR.plug ins.link,p =function( ){var a=th is.getDial og(),b=a.g etContentE lement("ta rget","pop upFeatures "),a=a.get ContentEle ment("targ et","linkT argetName" ),m=this.g etValue(); if(b&&a)sw itch(b=b.g etElement( ),b.hide() ,a.setValu e(""),m){c ase "frame ":a.setLab el(g.lang. link.targe tFrameName );a.getEle ment().sho w();break; case "popu p":b.show( );a.setLab el(g.lang. link.targe tPopupName );a.getEle ment().sho w();break; default:a. setValue(m ),a.getEle ment().hid e()}},        
6   f=function (a){a.targ et&&this.s etValue(a. target[thi s.id]||"") },h=functi on(a){a.ad vanced&&th is.setValu e(a.advanc ed[this.id ]||"")},k= function(a ){a.target ||(a.targe t={});a.ta rget[this. id]=this.g etValue()| |""},l=fun ction(a){a .advanced| |(a.advanc ed={});a.a dvanced[th is.id]=thi s.getValue ()||""},c= g.lang.com mon,b=g.la ng.link,d; return{tit le:b.title ,minWidth: 350,minHei ght:230,co ntents:[{i d:"info",l abel:b.inf o,title:b. info,eleme nts:[{id:" linkType", type:"sele ct",label: b.type,"de fault":"ur l",items:[ [b.toUrl," url"],        
7   [b.toAncho r,"anchor" ],[b.toEma il,"email" ]],onChang e:function (){var a=t his.getDia log(),b=[" urlOptions ","anchorO ptions","e mailOption s"],m=this .getValue( ),e=a.defi nition.get Contents(" upload"),e =e&&e.hidd en;"url"== m?(g.confi g.linkShow TargetTab& &a.showPag e("target" ),e||a.sho wPage("upl oad")):(a. hidePage(" target"),e ||a.hidePa ge("upload "));for(e= 0;e<b.leng th;e++){va r c=a.getC ontentElem ent("info" ,b[e]);c&& (c=c.getEl ement().ge tParent(). getParent( ),b[e]==m+ "Options"? c.show():c .hide())}a .layout()} ,setup:fun ction(a){t his.setVal ue(a.type| |        
8   "url")},co mmit:funct ion(a){a.t ype=this.g etValue()} },{type:"v box",id:"u rlOptions" ,children: [{type:"hb ox",widths :["25%","7 5%"],child ren:[{id:" protocol", type:"sele ct",label: c.protocol ,"default" :"http://" ,items:[[" http://‎", "http://"] ,["https:/ /‎","https ://"],["ft p://‎","ft p://"],["n ews://‎"," news://"], [b.other," "]],setup: function(a ){a.url&&t his.setVal ue(a.url.p rotocol||" ")},commit :function( a){a.url|| (a.url={}) ;a.url.pro tocol=this .getValue( )}},{type: "text",id: "url",labe l:c.url,re quired:!0, onLoad:fun ction(){th is.allowOn Change=        
9   !0},onKeyU p:function (){this.al lowOnChang e=!1;var a =this.getD ialog().ge tContentEl ement("inf o","protoc ol"),b=thi s.getValue (),m=/^((j avascript: )|[#\/\.\? ])/i,c=/^( http|https |ftp|news) :\/\/(?=.) /i.exec(b) ;c?(this.s etValue(b. substr(c[0 ].length)) ,a.setValu e(c[0].toL owerCase() )):m.test( b)&&a.setV alue("");t his.allowO nChange=!0 },onChange :function( ){if(this. allowOnCha nge)this.o nKeyUp()}, validate:f unction(){ var a=this .getDialog ();return  a.getConte ntElement( "info","li nkType")&& "url"!=a.g etValueOf( "info","li nkType")?        
10   !0:!g.conf ig.linkJav aScriptLin ksAllowed& &/javascri pt\:/.test (this.getV alue())?(a lert(c.inv alidValue) ,!1):this. getDialog( ).fakeObj? !0:CKEDITO R.dialog.v alidate.no tEmpty(b.n oUrl).appl y(this)},s etup:funct ion(a){thi s.allowOnC hange=!1;a .url&&this .setValue( a.url.url) ;this.allo wOnChange= !0},commit :function( a){this.on Change();a .url||(a.u rl={});a.u rl.url=thi s.getValue ();this.al lowOnChang e=!1}}],se tup:functi on(){this. getDialog( ).getConte ntElement( "info","li nkType")|| this.getEl ement().sh ow()}},{ty pe:"button ",        
11   id:"browse ",hidden:" true",file browser:"i nfo:url",l abel:c.bro wseServer} ]},{type:" vbox",id:" anchorOpti ons",width :260,align :"center", padding:0, children:[ {type:"fie ldset",id: "selectAnc horText",l abel:b.sel ectAnchor, setup:func tion(){d=n .getEditor Anchors(g) ;this.getE lement()[d &&d.length ?"show":"h ide"]()},c hildren:[{ type:"hbox ",id:"sele ctAnchor", children:[ {type:"sel ect",id:"a nchorName" ,"default" :"",label: b.anchorNa me,style:" width: 100 %;",items: [[""]],set up:functio n(a){this. clear();th is.add("") ;if(d)for( var b=        
12   0;b<d.leng th;b++)d[b ].name&&th is.add(d[b ].name);a. anchor&&th is.setValu e(a.anchor .name);(a= this.getDi alog().get ContentEle ment("info ","linkTyp e"))&&"ema il"==a.get Value()&&t his.focus( )},commit: function(a ){a.anchor ||(a.ancho r={});a.an chor.name= this.getVa lue()}},{t ype:"selec t",id:"anc horId","de fault":"", label:b.an chorId,sty le:"width:  100%;",it ems:[[""]] ,setup:fun ction(a){t his.clear( );this.add ("");if(d) for(var b= 0;b<d.leng th;b++)d[b ].id&&this .add(d[b]. id);a.anch or&&this.s etValue(a. anchor.id) },commit:f unction(a) {a.anchor| |        
13   (a.anchor= {});a.anch or.id=this .getValue( )}}],setup :function( ){this.get Element()[ d&&d.lengt h?"show":" hide"]()}} ]},{type:" html",id:" noAnchors" ,style:"te xt-align:  center;",h tml:'\x3cd iv role\x3 d"note" ta bIndex\x3d "-1"\x3e'+ CKEDITOR.t ools.htmlE ncode(b.no Anchors)+" \x3c/div\x 3e",focus: !0,setup:f unction(){ this.getEl ement()[d& &d.length? "hide":"sh ow"]()}}], setup:func tion(){thi s.getDialo g().getCon tentElemen t("info"," linkType") ||this.get Element(). hide()}},{ type:"vbox ",id:"emai lOptions", padding:1, children:[ {type:"tex t",        
14   id:"emailA ddress",la bel:b.emai lAddress,r equired:!0 ,validate: function() {var a=thi s.getDialo g();return  a.getCont entElement ("info","l inkType")& &"email"== a.getValue Of("info", "linkType" )?CKEDITOR .dialog.va lidate.not Empty(b.no Email).app ly(this):! 0},setup:f unction(a) {a.email&& this.setVa lue(a.emai l.address) ;(a=this.g etDialog() .getConten tElement(" info","lin kType"))&& "email"==a .getValue( )&&this.se lect()},co mmit:funct ion(a){a.e mail||(a.e mail={});a .email.add ress=this. getValue() }},{type:" text",id:" emailSubje ct",        
15   label:b.em ailSubject ,setup:fun ction(a){a .email&&th is.setValu e(a.email. subject)}, commit:fun ction(a){a .email||(a .email={}) ;a.email.s ubject=thi s.getValue ()}},{type :"textarea ",id:"emai lBody",lab el:b.email Body,rows: 3,"default ":"",setup :function( a){a.email &&this.set Value(a.em ail.body)} ,commit:fu nction(a){ a.email||( a.email={} );a.email. body=this. getValue() }}],setup: function() {this.getD ialog().ge tContentEl ement("inf o","linkTy pe")||this .getElemen t().hide() }}]},{id:" target",re quiredCont ent:"a[tar get]",labe l:b.target ,        
16   title:b.ta rget,eleme nts:[{type :"hbox",wi dths:["50% ","50%"],c hildren:[{ type:"sele ct",id:"li nkTargetTy pe",label: c.target," default":" notSet",st yle:"width  : 100%;", items:[[c. notSet,"no tSet"],[b. targetFram e,"frame"] ,[b.target Popup,"pop up"],[c.ta rgetNew,"_ blank"],[c .targetTop ,"_top"],[ c.targetSe lf,"_self" ],[c.targe tParent,"_ parent"]], onChange:p ,setup:fun ction(a){a .target&&t his.setVal ue(a.targe t.type||"n otSet");p. call(this) },commit:f unction(a) {a.target| |(a.target ={});a.tar get.type=t his.getVal ue()}},{ty pe:"text",        
17   id:"linkTa rgetName", label:b.ta rgetFrameN ame,"defau lt":"",set up:functio n(a){a.tar get&&this. setValue(a .target.na me)},commi t:function (a){a.targ et||(a.tar get={});a. target.nam e=this.get Value().re place(/\W/ gi,"")}}]} ,{type:"vb ox",width: "100%",ali gn:"center ",padding: 2,id:"popu pFeatures" ,children: [{type:"fi eldset",la bel:b.popu pFeatures, children:[ {type:"hbo x",childre n:[{type:" checkbox", id:"resiza ble",label :b.popupRe sizable,se tup:f,comm it:k},{typ e:"checkbo x",id:"sta tus",label :b.popupSt atusBar,se tup:f,comm it:k}]},        
18   {type:"hbo x",childre n:[{type:" checkbox", id:"locati on",label: b.popupLoc ationBar,s etup:f,com mit:k},{ty pe:"checkb ox",id:"to olbar",lab el:b.popup Toolbar,se tup:f,comm it:k}]},{t ype:"hbox" ,children: [{type:"ch eckbox",id :"menubar" ,label:b.p opupMenuBa r,setup:f, commit:k}, {type:"che ckbox",id: "fullscree n",label:b .popupFull Screen,set up:f,commi t:k}]},{ty pe:"hbox", children:[ {type:"che ckbox",id: "scrollbar s",label:b .popupScro llBars,set up:f,commi t:k},{type :"checkbox ",id:"depe ndent",lab el:b.popup Dependent, setup:f,co mmit:k}]},        
19   {type:"hbo x",childre n:[{type:" text",widt hs:["50%", "50%"],lab elLayout:" horizontal ",label:c. width,id:" width",set up:f,commi t:k},{type :"text",la belLayout: "horizonta l",widths: ["50%","50 %"],label: b.popupLef t,id:"left ",setup:f, commit:k}] },{type:"h box",child ren:[{type :"text",la belLayout: "horizonta l",widths: ["50%","50 %"],label: c.height,i d:"height" ,setup:f,c ommit:k},{ type:"text ",labelLay out:"horiz ontal",lab el:b.popup Top,widths :["50%","5 0%"],id:"t op",setup: f,commit:k }]}]}]}]}, {id:"uploa d",label:b .upload,ti tle:b.uplo ad,        
20   hidden:!0, filebrowse r:"uploadB utton",ele ments:[{ty pe:"file", id:"upload ",label:c. upload,sty le:"height :40px",siz e:29},{typ e:"fileBut ton",id:"u ploadButto n",label:c .uploadSub mit,filebr owser:"inf o:url","fo r":["uploa d","upload "]}]},{id: "advanced" ,label:b.a dvanced,ti tle:b.adva nced,eleme nts:[{type :"vbox",pa dding:1,ch ildren:[{t ype:"hbox" ,widths:[" 45%","35%" ,"20%"],ch ildren:[{t ype:"text" ,id:"advId ",required Content:"a [id]",labe l:b.id,set up:h,commi t:l},{type :"select", id:"advLan gDir",requ iredConten t:"a[dir]" ,        
21   label:b.la ngDir,"def ault":"",s tyle:"widt h:110px",i tems:[[c.n otSet,""], [b.langDir LTR,"ltr"] ,[b.langDi rRTL,"rtl" ]],setup:h ,commit:l} ,{type:"te xt",id:"ad vAccessKey ",required Content:"a [accesskey ]",width:" 80px",labe l:b.accces sKey,maxLe ngth:1,set up:h,commi t:l}]},{ty pe:"hbox", widths:["4 5%","35%", "20%"],chi ldren:[{ty pe:"text", label:b.na me,id:"adv Name",requ iredConten t:"a[name] ",setup:h, commit:l}, {type:"tex t",label:b .langCode, id:"advLan gCode",req uiredConte nt:"a[lang ]",width:" 110px","de fault":"", setup:h,co mmit:l},        
22   {type:"tex t",label:b .tabIndex, id:"advTab Index",req uiredConte nt:"a[tabi ndex]",wid th:"80px", maxLength: 5,setup:h, commit:l}] }]},{type: "vbox",pad ding:1,chi ldren:[{ty pe:"hbox", widths:["4 5%","55%"] ,children: [{type:"te xt",label: b.advisory Title,requ iredConten t:"a[title ]","defaul t":"",id:" advTitle", setup:h,co mmit:l},{t ype:"text" ,label:b.a dvisoryCon tentType,r equiredCon tent:"a[ty pe]","defa ult":"",id :"advConte ntType",se tup:h,comm it:l}]},{t ype:"hbox" ,widths:[" 45%","55%" ],children :[{type:"t ext",label :b.cssClas ses,        
23   requiredCo ntent:"a(c ke-xyz)"," default":" ",id:"advC SSClasses" ,setup:h,c ommit:l},{ type:"text ",label:b. charset,re quiredCont ent:"a[cha rset]","de fault":"", id:"advCha rset",setu p:h,commit :l}]},{typ e:"hbox",w idths:["45 %","55%"], children:[ {type:"tex t",label:b .rel,requi redContent :"a[rel]", "default": "",id:"adv Rel",setup :h,commit: l},{type:" text",labe l:b.styles ,requiredC ontent:"a{ cke-xyz}", "default": "",id:"adv Styles",va lidate:CKE DITOR.dial og.validat e.inlineSt yle(g.lang .common.in validInlin eStyle),se tup:h,comm it:l}]}]}] }],        
24   onShow:fun ction(){va r a=this.g etParentEd itor(),b=a .getSelect ion(),c=nu ll;(c=n.ge tSelectedL ink(a))&&c .hasAttrib ute("href" )?b.getSel ectedEleme nt()||b.se lectElemen t(c):c=nul l;a=n.pars eLinkAttri butes(a,c) ;this._.se lectedElem ent=c;this .setupCont ent(a)},on Ok:functio n(){var a= {};this.co mmitConten t(a);var b =g.getSele ction(),c= n.getLinkA ttributes( g,a);if(th is._.selec tedElement ){var e=th is._.selec tedElement ,d=e.data( "cke-saved -href"),f= e.getHtml( );e.setAtt ributes(c. set);e.rem oveAttribu tes(c.remo ved);if(d= =        
25   f||"email" ==a.type&& -1!=f.inde xOf("@"))e .setHtml(" email"==a. type?a.ema il.address :c.set["da ta-cke-sav ed-href"]) ,b.selectE lement(e); delete thi s._.select edElement} else b=b.g etRanges() [0],b.coll apsed&&(a= new CKEDIT OR.dom.tex t("email"= =a.type?a. email.addr ess:c.set[ "data-cke- saved-href "],g.docum ent),b.ins ertNode(a) ,b.selectN odeContent s(a)),c=ne w CKEDITOR .style({el ement:"a", attributes :c.set}),c .type=CKED ITOR.STYLE _INLINE,c. applyToRan ge(b,g),b. select()}, onLoad:fun ction(){g. config.lin kShowAdvan cedTab||th is.hidePag e("advance d");        
26   g.config.l inkShowTar getTab||th is.hidePag e("target" )},onFocus :function( ){var a=th is.getCont entElement ("info","l inkType"); a&&"url"== a.getValue ()&&(a=thi s.getConte ntElement( "info","ur l"),a.sele ct())}}})} )();