--- C:/Users/Brian Schrameck/Desktop/ISC_Forms.js Tue Oct 09 17:28:10 2012 +++ C:/Users/Brian Schrameck/Desktop/ISC_Forms.patched.js Tue Oct 09 17:34:09 2012 @@ -1,13 +1,13 @@ -/* - * Isomorphic SmartClient - * Version v8.2p_2012-10-09 (2012-10-09) - * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved. - * "SmartClient" is a trademark of Isomorphic Software, Inc. - * - * licensing@smartclient.com - * - * http://smartclient.com/license - */ +/* + * Isomorphic SmartClient + * Version v8.2p_2012-10-09 (2012-10-09) + * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved. + * "SmartClient" is a trademark of Isomorphic Software, Inc. + * + * licensing@smartclient.com + * + * http://smartclient.com/license + */ if(window.isc&&window.isc.module_Core&&!window.isc.module_Forms){isc.module_Forms=1;isc._moduleStart=isc._Forms_start=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc._moduleEnd&&(!isc.Log||(isc.Log && isc.Log.logIsDebugEnabled('loadTime')))){isc._pTM={ message:'Forms load/parse time: ' + (isc._moduleStart-isc._moduleEnd) + 'ms', category:'loadTime'}; if(isc.Log && isc.Log.logDebug)isc.Log.logDebug(isc._pTM.message,'loadTime') @@ -1627,12 +1627,12 @@ ,isc.A.handleEditorExit=function isc_FormItem_handleEditorExit(){if(!this.$178)return;this.$178=null;var _1=this.getValue();if(!this.$843)this.$844(_1);if(this.getImplicitSave()&&this.form&&this.form.awaitingImplicitSave&&!this.form.implicitSaveInProgress&&this.$10v()&&this.getImplicitSaveOnBlur()!=false) {this.form.performImplicitSave(this,false)} if(this.editorExit)this.editorExit(this.form,this,_1)} -,isc.A.getImplicitSave=function isc_FormItem_getImplicitSave(){return(this.implicitSave!=null?this.implicitSave:this.form.implicitSave)} +,isc.A.getImplicitSave=function isc_FormItem_getImplicitSave(){if(this.implicitSave!=null){return this.implicitSave;}if(this.form!=null){return this.form.implicitSave;}else{return null;}} ,isc.A.getImplicitSaveOnBlur=function isc_FormItem_getImplicitSaveOnBlur(){if(this.getImplicitSave()==false)return false;return(this.implicitSaveOnBlur!=null?this.implicitSaveOnBlur:this.form.implicitSaveOnBlur)} -,isc.A.$844=function isc_FormItem__performValidateOnEditorExit(_1){if(this.validateOnExit||this.form.validateOnExit){if(this.$84r||(this.form.isNewRecord&&this.form.isNewRecord())||!this.compareValues(_1,this.$75h)) +,isc.A.$844=function isc_FormItem__performValidateOnEditorExit(_1){if(this.validateOnExit||(this.form != null && this.form.validateOnExit)){if(this.$84r||(this.form.isNewRecord&&this.form.isNewRecord())||!this.compareValues(_1,this.$75h)) {this.validate()} this.$84r=null;this.$75h=null} -var _2=this.form.rulesEngine;if(_2!=null){_2.processEditorExit(this.form,this)}} +var _2=null;if(this.form!=null){_2=this.form.rulesEngine;}if(_2!=null){_2.processEditorExit(this.form,this)}} ,isc.A.handleEditorEnter=function isc_FormItem_handleEditorEnter(){if(this.$178)return;this.$178=true;var _1=this.getValue();if(this.validateOnExit||this.form.validateOnExit)this.$75h=_1;if(this.editorEnter)this.editorEnter(this.form,this,_1);if(this.form.rulesEngine!=null){this.form.rulesEngine.processEditorEnter(this.form,this)}} ,isc.A.$179=function isc_FormItem__setupFocusCheck(){var _1=this;this.$18a=isc.Page.setEvent(isc.EH.MOUSE_UP,function(){if(!_1.destroyed)_1.$18b()})} ,isc.A.$18b=function isc_FormItem__checkNativeFocus(){isc.Page.clearEvent(isc.EH.MOUSE_UP,this.$18a);delete this.$18a;if(this.getActiveElement()==document.body){this.focusInItem()}} @@ -3720,14 +3720,14 @@ ,isc.A.reportBuilderReply=function isc_ReportChooserItem_reportBuilderReply(){this.pickList.invalidateCache();this.setValue(null)} );isc.B._maxIndex=isc.C+4} isc._moduleEnd=isc._Forms_end=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc.Log&&isc.Log.logIsInfoEnabled('loadTime'))isc.Log.logInfo('Forms module init time: ' + (isc._moduleEnd-isc._moduleStart) + 'ms','loadTime');delete isc.definingFramework;}else{if(window.isc && isc.Log && isc.Log.logWarn)isc.Log.logWarn("Duplicate load of module 'Forms'.");} -/* - * Isomorphic SmartClient - * Version v8.2p_2012-10-09 (2012-10-09) - * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved. - * "SmartClient" is a trademark of Isomorphic Software, Inc. - * - * licensing@smartclient.com - * - * http://smartclient.com/license - */ +/* + * Isomorphic SmartClient + * Version v8.2p_2012-10-09 (2012-10-09) + * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved. + * "SmartClient" is a trademark of Isomorphic Software, Inc. + * + * licensing@smartclient.com + * + * http://smartclient.com/license + */