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.
| # | 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 | textfield.js | Tue Dec 20 19:50:43 2016 UTC |
| 2 | Wed Feb 1 19:57:49 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 0 | 0 |
| Removed | 1 | 11 |
| 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 |
No regular expressions were active.
| 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( "textfield ",function (b){functi on e(a){a= a.element; var b=this .getValue( );b?a.setA ttribute(t his.id,b): a.removeAt tribute(th is.id)}fun ction f(a) {a=a.hasAt tribute(th is.id)&&a. getAttribu te(this.id );this.set Value(a||" ")}var g={ email:1,pa ssword:1,s earch:1,te l:1,text:1 ,url:1};re turn{title :b.lang.fo rms.textfi eld.title, minWidth:3 50,minHeig ht:150,onS how:functi on(){delet e this.tex tField;var a=this.ge tParentEdi tor().getS election() .getSelect edElement( );!a||"inp ut"!=a.get Name()||!g [a.getAttr ibute("typ e")]&& | |||||
| 6 | a.getAttri bute("type ")||(this. textField= a,this.set upContent( a))},onOk: function() {var a=thi s.getParen tEditor(), b=this.tex tField,c=! b;c&&(b=a. document.c reateEleme nt("input" ),b.setAtt ribute("ty pe","text" ));b={elem ent:b};c&& a.insertEl ement(b.el ement);thi s.commitCo ntent(b);c ||a.getSel ection().s electEleme nt(b.eleme nt)},onLoa d:function (){this.fo reach(func tion(a){a. getValue&& (a.setup|| (a.setup=f ),a.commit ||(a.commi t=e))})},c ontents:[{ id:"info", label:b.la ng.forms.t extfield.t itle,title :b.lang.fo rms.textfi eld.title, | |||||
| 7 | elements:[ {type:"hbo x",widths: ["50%","50 %"],childr en:[{id:"_ cke_saved_ name",type :"text",la bel:b.lang .forms.tex tfield.nam e,"default ":"",acces sKey:"N",s etup:funct ion(a){thi s.setValue (a.data("c ke-saved-n ame")||a.g etAttribut e("name")| |"")},comm it:functio n(a){a=a.e lement;thi s.getValue ()?a.data( "cke-saved -name",thi s.getValue ()):(a.dat a("cke-sav ed-name",! 1),a.remov eAttribute ("name"))} },{id:"val ue",type:" text",labe l:b.lang.f orms.textf ield.value ,"default" :"",access Key:"V",co mmit:funct ion(a){if( CKEDITOR.e nv.ie&& | |||||
| 8 | !this.getV alue()){va r d=a.elem ent,c=new CKEDITOR.d om.element ("input",b .document) ;d.copyAtt ributes(c, {value:1}) ;c.replace (d);a.elem ent=c}else e.call(th is,a)}}]}, {type:"hbo x",widths: ["50%","50 %"],childr en:[{id:"s ize",type: "text",lab el:b.lang. forms.text field.char Width,"def ault":"",a ccessKey:" C",style:" width:50px ",validate :CKEDITOR. dialog.val idate.inte ger(b.lang .common.va lidateNumb erFailed)} ,{id:"maxL ength",typ e:"text",l abel:b.lan g.forms.te xtfield.ma xChars,"de fault":"", accessKey: "M",style: "width:50p x", | |||||
| 9 | validate:C KEDITOR.di alog.valid ate.intege r(b.lang.c ommon.vali dateNumber Failed)}], onLoad:fun ction(){CK EDITOR.env .ie7Compat &&this.get Element(). setStyle(" zoom","100 %")}},{id: "type",typ e:"select" ,label:b.l ang.forms. textfield. type,"defa ult":"text ",accessKe y:"M",item s:[[b.lang .forms.tex tfield.typ eEmail,"em ail"],[b.l ang.forms. textfield. typePass," password"] ,[b.lang.f orms.textf ield.typeS earch,"sea rch"],[b.l ang.forms. textfield. typeTel,"t el"],[b.la ng.forms.t extfield.t ypeText,"t ext"],[b.l ang.forms. textfield. typeUrl, | |||||
| 10 | "url"]],se tup:functi on(a){this .setValue( a.getAttri bute("type "))},commi t:function (a){var d= a.element; if(CKEDITO R.env.ie){ var c=d.ge tAttribute ("type"),e =this.getV alue();c!= e&&(c=CKED ITOR.dom.e lement.cre ateFromHtm l('\x3cinp ut type\x3 d"'+e+'"\x 3e\x3c/inp ut\x3e',b. document), d.copyAttr ibutes(c,{ type:1}),c .replace(d ),a.elemen t=c)}else d.setAttri bute("type ",this.get Value())}} ,{id:"requ ired",type :"checkbox ",label:b. lang.forms .textfield .required, "default": "",accessK ey:"Q",val ue:"requir ed",setup: function(a ){this.set Value(a.ge tAttribute ("required "))}, | |||||
| 11 | commit:fun ction(a){a =a.element ;this.getV alue()?a.s etAttribut e("require d","requir ed"):a.rem oveAttribu te("requir ed")}}]}]} }); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.