X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-ui-debug.js;h=9e05db1d42c50223fac990fb95e0f6e9656a314b;hb=80d1b352167d1133a48f3b71d2a7adb9f85168e5;hp=f88e619a310f58a8d6a4278c392dfcb6adc17e10;hpb=e0bdfced8fe79e254ff0bea5cffd29125e773be2;p=roojs1 diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index f88e619a31..9e05db1d42 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -16531,8 +16531,8 @@ side Add an error icon to the right of the field with a popup on hover * Resets the current field value to the originally loaded value and clears any validation messages */ reset : function(){ - this.originalValue = this.resetValue; this.setValue(this.resetValue); + this.originalValue = this.getValue(); this.clearInvalid(); }, @@ -19229,6 +19229,7 @@ Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, { reset : function(){ // overridden so that last data is reset.. this.setValue(this.resetValue); + this.originalValue = this.getValue(); this.clearInvalid(); this.lastData = false; if (this.view) { @@ -25000,7 +25001,13 @@ Roo.extend(Roo.form.Form, Roo.form.BasicForm, { */ progressUrl : false, - + /** + * @cfg {boolean|FormData} formData - true to use new 'FormData' post, or set to a new FormData({dom form}) Object, if + * sending a formdata with extra parameters - eg uploaded elements. + */ + + formData : false, + /** * Opens a new {@link Roo.form.Column} container in the layout stack. If fields are passed after the config, the * fields are added and the column is closed. If no fields are passed the column remains open @@ -25556,7 +25563,8 @@ Roo.extend(Roo.form.Action.Submit, Roo.form.Action, { url:this.getUrl(!isPost), method: method, params:isPost ? this.getParams() : null, - isUpload: this.form.fileUpload + isUpload: this.form.fileUpload, + formData : this.form.formData })); this.uploadProgress(); @@ -34780,6 +34788,9 @@ Roo.extend(Roo.grid.ColumnModel, Roo.util.Observable, { /** * @cfg {String} align (Optional) Set the CSS text-align property of the column. Defaults to undefined. */ + /** + * @cfg {String} valign (Optional) Set the CSS vertical-align property of the column (eg. middle, top, bottom etc). Defaults to undefined. + */ /** * @cfg {String} cursor (Optional) */