details:   https://code.openbravo.com/erp/devel/pi/rev/cdd07a22f34b
changeset: 22824:cdd07a22f34b
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Wed Apr 02 21:28:50 2014 +0200
summary:   [scupgrade] Fixed issue 26129: 'Checkboxes' now display focus status 
again

diffstat:

 
modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js
 |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 839ae577e210 -r cdd07a22f34b 
modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js
--- 
a/modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js
    Wed Apr 02 18:42:15 2014 +0200
+++ 
b/modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js
    Wed Apr 02 21:28:50 2014 +0200
@@ -8602,7 +8602,9 @@
 
_1=_9+(_1!=null?_1:isc.emptyString);if(isc.Browser.isIE){if(_1&&_1.startsWith("<nobr>"))
 _1=_1.substring(6);if(_1&&_1.endsWith("</nobr>"))
 _1=_1.substring(0,_1.length-7);try{_8.innerHTML=_1}catch(e){var 
_10=document.createElement("span");_10.innerHTML=_1;_8.innerHTML="";_8.appendChild(_10)}}else{_8.innerHTML=_1}
-if(!this.clipValue||this.height==null||this.width==null){this.adjustOverflow("textBox
 value changed")}}},isc.A.$17j=function 
isc_FormItem__updateValueIcon(_1){if(this.suppressValueIcon||!this.isDrawn())return;var
 
_2=this.$144(_1),_3=this.$15v();if(_2!=null){if(this.imageURLSuffix!=null)_2+=this.imageURLSuffix;_2=isc.Canvas.getImgURL(_2,this.imageURLPrefix||this.baseURL||this.imgDir);if(_3!=null){_3.src=_2}else{var
 _4=false;if(this.hasDataElement()){var 
_5=this.getDataElement();if(_5!=null){isc.Element.insertAdjacentHTML(_5,"beforeBegin",this.$xq(_1));_5.style.width=this.getTextBoxWidth(_1);_4=true}}else{var
 
_6=this.$15h();if(_6!=null){isc.Element.insertAdjacentHTML(_6,"afterBegin",this.$xq(_1));_4=true}}
+if(!this.clipValue||this.height==null||this.width==null){this.adjustOverflow("textBox
 value changed")}}},isc.A.$17j=function isc_FormItem__updateValueIcon(_1){
+if(this.suppressValueIcon||!this.isDrawn())return;if(_1==null)_1=this.getValue();var
 
_2=this.$144(_1),_3=this.$15v();if(_2!=null){if(this.imageURLSuffix!=null)_2+=this.imageURLSuffix;var
 
_7=this.imageURLPrefix||this.baseURL||this.imgDir;if(_3!=null){isc.Canvas.$wg(_3,_2,_7);}
+else{_2=isc.Canvas.getImgURL(_2,_7);var _4=false;if(this.hasDataElement()){var 
_5=this.getDataElement();if(_5!=null){isc.Element.insertAdjacentHTML(_5,"beforeBegin",this.$xq(_1));_5.style.width=this.getTextBoxWidth(_1);_4=true}}else{var
 
_6=this.$15h();if(_6!=null){isc.Element.insertAdjacentHTML(_6,"afterBegin",this.$xq(_1));_4=true}}
 if(!_4)this.redraw()}}else 
if(_3!=null&&!(isc.isAn.Array(_1)&&_1.length>1)){isc.Element.clear(_3);if(this.hasDataElement()){var
 
_5=this.getDataElement();_5.style.width=this.getTextBoxWidth(_1)}}},isc.A.setPrompt=function
 isc_FormItem_setPrompt(_1){this.prompt=_1},isc.A.setHint=function 
isc_FormItem_setHint(_1){this.hint=_1;if(this.showHint)this.redraw()},isc.A.setHintStyle=function
 isc_FormItem_setHintStyle(_1){if(!this.$712()&&this.getHint()){var 
_2=this.$59t();if(_2)_2.className=_1}},isc.A.$66t=function 
isc_FormItem__showInFieldHint(){if(!this.$66u&&!this.hasFocus){var 
_1=this.getDataElement();if(_1){_1.className=this.$66v();if(this.isA.TextItem){this.$857=_1.type;_1.type="text"}}else{var
 _2=this.$15h();if(_2!=null){_2.className=this.$66v()}}
 var 
_3=this.getHint();if(_3)_3=_3.unescapeHTML();this.setElementValue(_3);this.$66u=true}},isc.A.$66s=function
 isc_FormItem__hideInFieldHint(_1){if(this.$66u){var 
_2=this.getDataElement();if(_2){_2.className=this.getTextBoxStyle();if(this.$857){_2.type=this.$857;delete
 this.$857}}else{var 
_3=this.$15h();if(_3!=null){_3.className=this.getTextBoxStyle()}}
 
if(!_1)this.setElementValue(isc.emptyString);this.$66u=false}},isc.A.$66v=function
 
isc_FormItem__getInFieldHintStyle(){if(this.showDisabled&&this.isDisabled())return
 this.textBoxStyle+"DisabledHint";return 
this.textBoxStyle+"Hint"},isc.A.$712=function 
isc_FormItem__getShowHintInField(){return false},isc.A.getDefaultValue=function 
isc_FormItem_getDefaultValue(){if(this.defaultDynamicValue){this.convertToMethod("defaultDynamicValue");var
 _1=this,_2=this.form,_3=this.form.getValues();return 
this.defaultDynamicValue(_1,_2,_3)}

------------------------------------------------------------------------------
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to