1270. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2/1/2017 2:57:49 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.

1270.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\forms\dialogs select.js Tue Dec 20 19:50:43 2016 UTC
2 Wed Feb 1 19:57:49 2017 UTC

1270.2 Comparison summary

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

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

1270.4 Active regular expressions

No regular expressions were active.

1270.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   CKEDITOR.d ialog.add( "select",f unction(c) {function  h(a,b,e,d, c){a=f(a); d=d?d.crea teElement( "OPTION"): document.c reateEleme nt("OPTION ");if(a&&d &&"option" ==d.getNam e())CKEDIT OR.env.ie? (isNaN(par seInt(c,10 ))?a.$.opt ions.add(d .$):a.$.op tions.add( d.$,c),d.$ .innerHTML =0<b.lengt h?b:"",d.$ .value=e): (null!==c& &c<a.getCh ildCount() ?a.getChil d(0>c?0:c) .insertBef oreMe(d):a .append(d) ,d.setText (0<b.lengt h?b:""),d. setValue(e ));else re turn!1;ret urn d}func tion p(a){ a=f(a);for (var b=g(a ),e=a.getC hildren(). count()-1; 0<=        
6   e;e--)a.ge tChild(e). $.selected &&a.getChi ld(e).remo ve();k(a,b )}function  q(a,b,e,d ){a=f(a);i f(0>b)retu rn!1;a=a.g etChild(b) ;a.setText (e);a.setV alue(d);re turn a}fun ction m(a) {for(a=f(a );a.getChi ld(0)&&a.g etChild(0) .remove(); );}functio n l(a,b,e) {a=f(a);va r d=g(a);i f(0>d)retu rn!1;b=d+b ;b=0>b?0:b ;b=b>=a.ge tChildCoun t()?a.getC hildCount( )-1:b;if(d ==b)return !1;var d=a .getChild( d),c=d.get Text(),r=d .getValue( );d.remove ();d=h(a,c ,r,e?e:nul l,b);k(a,b );return d }function  g(a){retur n(a=f(a))? a.$.select edIndex:-1 }        
7   function k (a,b){a=f( a);if(0>b) return nul l;var e=a. getChildre n().count( );a.$.sele ctedIndex= b>=e?e-1:b ;return a} function n (a){return (a=f(a))?a .getChildr en():!1}fu nction f(a ){return a &&a.domId& &a.getInpu tElement() .$?a.getIn putElement ():a&&a.$? a:!1}retur n{title:c. lang.forms .select.ti tle,minWid th:CKEDITO R.env.ie?4 60:395,min Height:CKE DITOR.env. ie?320:300 ,onShow:fu nction(){d elete this .selectBox ;this.setu pContent(" clear");va r a=this.g etParentEd itor().get Selection( ).getSelec tedElement ();if(a&&" select"==a .getName() ){this.sel ectBox=        
8   a;this.set upContent( a.getName( ),a);for(v ar a=n(a), b=0;b<a.co unt();b++) this.setup Content("o ption",a.g etItem(b)) }},onOk:fu nction(){v ar a=this. getParentE ditor(),b= this.selec tBox,e=!b; e&&(b=a.do cument.cre ateElement ("select") );this.com mitContent (b);if(e&& (a.insertE lement(b), CKEDITOR.e nv.ie)){va r d=a.getS election() ,c=d.creat eBookmarks ();setTime out(functi on(){d.sel ectBookmar ks(c)},0)} },contents :[{id:"inf o",label:c .lang.form s.select.s electInfo, title:c.la ng.forms.s elect.sele ctInfo,acc essKey:"", elements:[ {id:"txtNa me",        
9   type:"text ",widths:[ "25%","75% "],labelLa yout:"hori zontal",la bel:c.lang .common.na me,"defaul t":"",acce ssKey:"N", style:"wid th:350px", setup:func tion(a,b){ "clear"==a ?this.setV alue(this[ "default"] ||""):"sel ect"==a&&t his.setVal ue(b.data( "cke-saved -name")||b .getAttrib ute("name" )||"")},co mmit:funct ion(a){thi s.getValue ()?a.data( "cke-saved -name",thi s.getValue ()):(a.dat a("cke-sav ed-name",! 1),a.remov eAttribute ("name"))} },{id:"txt Value",typ e:"text",w idths:["25 %","75%"], labelLayou t:"horizon tal",label :c.lang.fo rms.select .value,        
10   style:"wid th:350px", "default": "",classNa me:"cke_di sabled",on Load:funct ion(){this .getInputE lement().s etAttribut e("readOnl y",!0)},se tup:functi on(a,b){"c lear"==a?t his.setVal ue(""):"op tion"==a&& b.getAttri bute("sele cted")&&th is.setValu e(b.$.valu e)}},{type :"hbox",wi dths:["175 px","170px "],childre n:[{id:"tx tSize",typ e:"text",l abelLayout :"horizont al",label: c.lang.for ms.select. size,"defa ult":"",ac cessKey:"S ",style:"w idth:175px ",validate :function( ){var a=CK EDITOR.dia log.valida te.integer (c.lang.co mmon.valid ateNumberF ailed);        
11   return""== =this.getV alue()||a. apply(this )},setup:f unction(a, b){"select "==a&&this .setValue( b.getAttri bute("size ")||"");CK EDITOR.env .webkit&&t his.getInp utElement( ).setStyle ("width"," 86px")},co mmit:funct ion(a){thi s.getValue ()?a.setAt tribute("s ize",this. getValue() ):a.remove Attribute( "size")}}, {type:"htm l",html:"\ x3cspan\x3 e"+CKEDITO R.tools.ht mlEncode(c .lang.form s.select.l ines)+"\x3 c/span\x3e "}]},{type :"html",ht ml:"\x3csp an\x3e"+CK EDITOR.too ls.htmlEnc ode(c.lang .forms.sel ect.opAvai l)+"\x3c/s pan\x3e"}, {type:"hbo x",        
12   widths:["1 15px","115 px","100px "],childre n:[{type:" vbox",chil dren:[{id: "txtOptNam e",type:"t ext",label :c.lang.fo rms.select .opText,st yle:"width :115px",se tup:functi on(a){"cle ar"==a&&th is.setValu e("")}},{t ype:"selec t",id:"cmb Name",labe l:"",title :"",size:5 ,style:"wi dth:115px; height:75p x",items:[ ],onChange :function( ){var a=th is.getDial og(),b=a.g etContentE lement("in fo","cmbVa lue"),e=a. getContent Element("i nfo","txtO ptName"),a =a.getCont entElement ("info","t xtOptValue "),d=g(thi s);k(b,d); e.setValue (this.getV alue());        
13   a.setValue (b.getValu e())},setu p:function (a,b){"cle ar"==a?m(t his):"opti on"==a&&h( this,b.get Text(),b.g etText(),t his.getDia log().getP arentEdito r().docume nt)},commi t:function (a){var b= this.getDi alog(),e=n (this),d=n (b.getCont entElement ("info","c mbValue")) ,c=b.getCo ntentEleme nt("info", "txtValue" ).getValue ();m(a);fo r(var f=0; f<e.count( );f++){var  g=h(a,e.g etItem(f). getValue() ,d.getItem (f).getVal ue(),b.get ParentEdit or().docum ent);d.get Item(f).ge tValue()== c&&(g.setA ttribute(" selected", "selected" ),g.select ed=        
14   !0)}}}]},{ type:"vbox ",children :[{id:"txt OptValue", type:"text ",label:c. lang.forms .select.op Value,styl e:"width:1 15px",setu p:function (a){"clear "==a&&this .setValue( "")}},{typ e:"select" ,id:"cmbVa lue",label :"",size:5 ,style:"wi dth:115px; height:75p x",items:[ ],onChange :function( ){var a=th is.getDial og(),b=a.g etContentE lement("in fo","cmbNa me"),e=a.g etContentE lement("in fo","txtOp tName"),a= a.getConte ntElement( "info","tx tOptValue" ),d=g(this );k(b,d);e .setValue( b.getValue ());a.setV alue(this. getValue() )},setup:f unction(a,        
15   b){if("cle ar"==a)m(t his);else  if("option "==a){var  e=b.getVal ue();h(thi s,e,e,this .getDialog ().getPare ntEditor() .document) ;"selected "==b.getAt tribute("s elected")& &this.getD ialog().ge tContentEl ement("inf o","txtVal ue").setVa lue(e)}}}] },{type:"v box",paddi ng:5,child ren:[{type :"button", id:"btnAdd ",label:c. lang.forms .select.bt nAdd,title :c.lang.fo rms.select .btnAdd,st yle:"width :100%;",on Click:func tion(){var  a=this.ge tDialog(), b=a.getCon tentElemen t("info"," txtOptName "),e=a.get ContentEle ment("info ","txtOptV alue"),        
16   d=a.getCon tentElemen t("info"," cmbName"), c=a.getCon tentElemen t("info"," cmbValue") ;h(d,b.get Value(),b. getValue() ,a.getPare ntEditor() .document) ;h(c,e.get Value(),e. getValue() ,a.getPare ntEditor() .document) ;b.setValu e("");e.se tValue("") }},{type:" button",id :"btnModif y",label:c .lang.form s.select.b tnModify,t itle:c.lan g.forms.se lect.btnMo dify,style :"width:10 0%;",onCli ck:functio n(){var a= this.getDi alog(),b=a .getConten tElement(" info","txt OptName"), e=a.getCon tentElemen t("info"," txtOptValu e"),d=a.ge tContentEl ement("inf o",        
17   "cmbName") ,a=a.getCo ntentEleme nt("info", "cmbValue" ),c=g(d);0 <=c&&(q(d, c,b.getVal ue(),b.get Value()),q (a,c,e.get Value(),e. getValue() ))}},{type :"button", id:"btnUp" ,style:"wi dth:100%;" ,label:c.l ang.forms. select.btn Up,title:c .lang.form s.select.b tnUp,onCli ck:functio n(){var a= this.getDi alog(),b=a .getConten tElement(" info","cmb Name"),c=a .getConten tElement(" info","cmb Value");l( b,-1,a.get ParentEdit or().docum ent);l(c,- 1,a.getPar entEditor( ).document )}},{type: "button",i d:"btnDown ",style:"w idth:100%; ",label:c. lang.forms .select.bt nDown,        
18   title:c.la ng.forms.s elect.btnD own,onClic k:function (){var a=t his.getDia log(),b=a. getContent Element("i nfo","cmbN ame"),c=a. getContent Element("i nfo","cmbV alue");l(b ,1,a.getPa rentEditor ().documen t);l(c,1,a .getParent Editor().d ocument)}} ]}]},{type :"hbox",wi dths:["40% ","20%","4 0%"],child ren:[{type :"button", id:"btnSet Value",lab el:c.lang. forms.sele ct.btnSetV alue,title :c.lang.fo rms.select .btnSetVal ue,onClick :function( ){var a=th is.getDial og(),b=a.g etContentE lement("in fo","cmbVa lue");a.ge tContentEl ement("inf o",        
19   "txtValue" ).setValue (b.getValu e())}},{ty pe:"button ",id:"btnD elete",lab el:c.lang. forms.sele ct.btnDele te,title:c .lang.form s.select.b tnDelete,o nClick:fun ction(){va r a=this.g etDialog() ,b=a.getCo ntentEleme nt("info", "cmbName") ,c=a.getCo ntentEleme nt("info", "cmbValue" ),d=a.getC ontentElem ent("info" ,"txtOptNa me"),a=a.g etContentE lement("in fo","txtOp tValue");p (b);p(c);d .setValue( "");a.setV alue("")}} ,{type:"vb ox",childr en:[{id:"c hkMulti",t ype:"check box",label :c.lang.fo rms.select .chkMulti, "default": "",accessK ey:"M",        
20   value:"che cked",setu p:function (a,b){"sel ect"==a&&t his.setVal ue(b.getAt tribute("m ultiple")) },commit:f unction(a) {this.getV alue()?a.s etAttribut e("multipl e",this.ge tValue()): a.removeAt tribute("m ultiple")} },{id:"req uired",typ e:"checkbo x",label:c .lang.form s.select.r equired,"d efault":"" ,accessKey :"Q",value :"checked" ,setup:fun ction(a,b) {"select"= =a&&this.s etValue(b. getAttribu te("requir ed"))},com mit:functi on(a){this .getValue( )?a.setAtt ribute("re quired","r equired"): a.removeAt tribute("r equired")} }]}]}]}]}} );